summaryrefslogtreecommitdiff
path: root/src/plugins/rmodifier/rmodifier.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-06-04 18:21:29 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-06-04 18:21:29 +0200
commite6125608c01ce3e9115b9a98d14c7debdf04e866 (patch)
tree4a5f246dad23fa683ade2564073d50993c2b298f /src/plugins/rmodifier/rmodifier.c
parenta306fcfd33d9344a4ff61246dd8537186d28c4b1 (diff)
downloadweechat-e6125608c01ce3e9115b9a98d14c7debdf04e866.zip
rmodifier: reallow names beginning with "#" for rmodifiers
Diffstat (limited to 'src/plugins/rmodifier/rmodifier.c')
-rw-r--r--src/plugins/rmodifier/rmodifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/rmodifier/rmodifier.c b/src/plugins/rmodifier/rmodifier.c
index 173bdacfc..a0783ffd3 100644
--- a/src/plugins/rmodifier/rmodifier.c
+++ b/src/plugins/rmodifier/rmodifier.c
@@ -263,7 +263,7 @@ rmodifier_new (const char *name, const char *modifiers, const char *str_regex,
struct t_rmodifier *new_rmodifier, *ptr_rmodifier;
regex_t *regex;
- if (!name || !name[0] || (name[0] == '#') || !modifiers || !modifiers[0]
+ if (!name || !name[0] || !modifiers || !modifiers[0]
|| !str_regex || !str_regex[0])
{
return NULL;