diff options
Diffstat (limited to 'src/irc/bot/bot-irc-commands.c')
-rw-r--r-- | src/irc/bot/bot-irc-commands.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/irc/bot/bot-irc-commands.c b/src/irc/bot/bot-irc-commands.c index a5b88337..f4b2b7f3 100644 --- a/src/irc/bot/bot-irc-commands.c +++ b/src/irc/bot/bot-irc-commands.c @@ -39,9 +39,7 @@ static void event_privmsg(const char *data, IRC_SERVER_REC *server, g_return_if_fail(data != NULL); params = event_get_params(data, 2 | PARAM_FLAG_GETREST, &target, &msg); - if (nick == NULL) nick = server->real_address; - - if (*msg == 1 || ischannel(*target)) { + if (ischannel(*target)) { g_free(params); return; } |