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:
@@ -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 " \
|
||||
|
||||
Reference in New Issue
Block a user