1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

minor speed enhance

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@815 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-07 01:46:25 +00:00 committed by cras
parent 228c0842fc
commit 499db646e1

View File

@ -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;
}