summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-10-14 23:21:27 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-10-17 21:28:31 +0200
commit8d12187f3dccb412b36841d5780f63b7ef8ae3de (patch)
tree67f191ca602002f6162beb1d5e69f5cd0efc77c1 /src/plugins/irc
parentbf8c85f422eda0d9c10e2aaddacf5e881c66887d (diff)
downloadweechat-8d12187f3dccb412b36841d5780f63b7ef8ae3de.zip
irc: require nick in "away" command callback
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-protocol.c1
1 files changed, 1 insertions, 0 deletions
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)