diff options
Diffstat (limited to 'src/irc/core/irc-queries.c')
-rw-r--r-- | src/irc/core/irc-queries.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/core/irc-queries.c b/src/irc/core/irc-queries.c index a2a545f5..1b089778 100644 --- a/src/irc/core/irc-queries.c +++ b/src/irc/core/irc-queries.c @@ -85,6 +85,8 @@ static void event_privmsg(IRC_SERVER_REC *server, const char *data, char *params, *target, *msg; g_return_if_fail(data != NULL); + if (nick == NULL) + return; params = event_get_params(data, 2 | PARAM_FLAG_GETREST, &target, &msg); check_query_changes(server, nick, address, target); |