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

please give us nicks

This commit is contained in:
ailin-nemui 2018-01-25 16:05:47 +01:00
parent 243ae4be84
commit e91da9e409

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)