From 8d12187f3dccb412b36841d5780f63b7ef8ae3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 14 Oct 2021 23:21:27 +0200 Subject: irc: require nick in "away" command callback --- src/plugins/irc/irc-protocol.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/irc/irc-protocol.c') diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index e848cac0a..550fced10 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -544,6 +544,7 @@ IRC_PROTOCOL_CALLBACK(away) struct t_irc_nick *ptr_nick; IRC_PROTOCOL_MIN_PARAMS(0); + IRC_PROTOCOL_CHECK_NICK; for (ptr_channel = server->channels; ptr_channel; ptr_channel = ptr_channel->next_channel) -- cgit v1.2.3