mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Fix return value from nick_match_msg_everywhere
This commit is contained in:
parent
5a4be0f4f5
commit
b5c3e90802
@ -577,7 +577,12 @@ int nick_match_msg_everywhere(CHANNEL_REC *channel, const char *msg, const char
|
|||||||
g_return_val_if_fail(nick != NULL, FALSE);
|
g_return_val_if_fail(nick != NULL, FALSE);
|
||||||
g_return_val_if_fail(msg != NULL, FALSE);
|
g_return_val_if_fail(msg != NULL, FALSE);
|
||||||
|
|
||||||
return stristr_full(msg, nick);
|
char *ret = stristr_full(msg, nick);
|
||||||
|
|
||||||
|
if (ret != NULL)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void nicklist_init(void)
|
void nicklist_init(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user