diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-01-25 16:05:47 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-01-25 16:05:47 +0100 |
commit | e91da9e4098e449dc36eaa15354aff67650e7703 (patch) | |
tree | cac71fdce695118d45d01098ccce6a640d05b8b2 | |
parent | 243ae4be84d422322f20be1b715dc0b00ef9c32d (diff) | |
download | irssi-e91da9e4098e449dc36eaa15354aff67650e7703.zip |
please give us nicks
-rw-r--r-- | src/fe-common/core/chat-completion.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index 97cd0565..c62d760d 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -173,6 +173,7 @@ static void sig_message_public(SERVER_REC *server, const char *msg, { CHANNEL_REC *channel; int own; + g_return_if_fail(nick != NULL); channel = channel_find(server, target); if (channel != NULL) { @@ -185,6 +186,7 @@ static void sig_message_join(SERVER_REC *server, const char *channel, const char *nick, const char *address) { CHANNEL_REC *chanrec; + g_return_if_fail(nick != NULL); chanrec = channel_find(server, channel); if (chanrec != NULL) |