1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

Merge branch 'nonick' into 'security'

please give us nicks

See merge request irssi/irssi!31
This commit is contained in:
Nei 2018-02-06 06:45:32 +00:00
commit 41e2b535ef

View File

@ -173,6 +173,7 @@ static void sig_message_public(SERVER_REC *server, const char *msg,
{ {
CHANNEL_REC *channel; CHANNEL_REC *channel;
int own; int own;
g_return_if_fail(nick != NULL);
channel = channel_find(server, target); channel = channel_find(server, target);
if (channel != NULL) { if (channel != NULL) {
@ -185,6 +186,7 @@ static void sig_message_join(SERVER_REC *server, const char *channel,
const char *nick, const char *address) const char *nick, const char *address)
{ {
CHANNEL_REC *chanrec; CHANNEL_REC *chanrec;
g_return_if_fail(nick != NULL);
chanrec = channel_find(server, channel); chanrec = channel_find(server, channel);
if (chanrec != NULL) if (chanrec != NULL)