1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00

irc: ensure the nick is not empty when the nick is required in a command callback

This commit is contained in:
Sébastien Helleu
2021-10-14 22:22:04 +02:00
parent 0be96b7c66
commit 52cc1165c4
+1 -1
View File
@@ -104,7 +104,7 @@
}
#define IRC_PROTOCOL_CHECK_NICK \
if (!nick) \
if (!nick || !nick[0]) \
{ \
weechat_printf (server->buffer, \
_("%s%s: command \"%s\" received without " \