1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 12:46:38 +02:00
This commit is contained in:
Bram Matthys
2015-06-03 10:41:39 +02:00
parent 678268f2a3
commit 45e46d9bdc
+1 -1
View File
@@ -1071,7 +1071,7 @@ static void unreal_add_mask(ConfigItem_mask **head, ConfigEntry *ce)
memset(&tmp, 0, sizeof(tmp));
/* Since we allow both mask "xyz"; and mask { abc; def; };... */
if (!strcmp(m->mask, "mask") && ce->ce_vardata)
if (!strcmp(ce->ce_varname, "mask") && ce->ce_vardata)
ircstrdup(m->mask, ce->ce_vardata);
else
ircstrdup(m->mask, ce->ce_varname);