1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

rmodifier: reallow names beginning with "#" for rmodifiers

This commit is contained in:
Sebastien Helleu
2012-06-04 18:21:29 +02:00
parent a306fcfd33
commit e6125608c0
21 changed files with 151 additions and 217 deletions
+1 -1
View File
@@ -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;