diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-07 01:46:25 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-07 01:46:25 +0000 |
commit | 499db646e11554486b0d0b8f71a462432874ab2d (patch) | |
tree | d9e8d39e52cc0decacf373b94b4eb57d5d1cfd7e | |
parent | 228c0842fcc56676979e325cfd24a140332e5f36 (diff) | |
download | irssi-499db646e11554486b0d0b8f71a462432874ab2d.zip |
minor speed enhance
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@815 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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; } |