diff options
-rw-r--r-- | src/core/masks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/masks.c b/src/core/masks.c index 909650b2..57551ec1 100644 --- a/src/core/masks.c +++ b/src/core/masks.c @@ -113,8 +113,7 @@ int masks_match(SERVER_REC *server, const char *masks, mask = g_strdup_printf("%s!%s", nick, address); list = g_strsplit(masks, " ", -1); for (tmp = list; *tmp != NULL; tmp++) { - if (strchr(*tmp, '!') == NULL && - g_strcasecmp(*tmp, nick) == 0) { + if (g_strcasecmp(*tmp, nick) == 0) { found = TRUE; break; } |