summaryrefslogtreecommitdiff
path: root/src/plugins/rmodifier
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/rmodifier')
-rw-r--r--src/plugins/rmodifier/rmodifier-command.c2
-rw-r--r--src/plugins/rmodifier/rmodifier.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/rmodifier/rmodifier-command.c b/src/plugins/rmodifier/rmodifier-command.c
index f360e8f08..18990f9d0 100644
--- a/src/plugins/rmodifier/rmodifier-command.c
+++ b/src/plugins/rmodifier/rmodifier-command.c
@@ -242,8 +242,6 @@ rmodifier_command_init ()
"listdefault: list default rmodifiers\n"
" add: add a rmodifier\n"
" name: name of rmodifier\n"
- " note: the name can not start with "
- "\"#\"\n"
" modifiers: comma separated list of modifiers\n"
" groups: action on groups found: comma separated "
"list of groups (from 1 to 9) with optional \"*\" "
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;