mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -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:
parent
228c0842fc
commit
499db646e1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user