diff options
Diffstat (limited to 'src/plugins/rmodifier/rmodifier.c')
-rw-r--r-- | src/plugins/rmodifier/rmodifier.c | 2 |
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; |