summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.h b/src/plugins/irc/irc-protocol.h
index b8f1a9629..6551b90d0 100644
--- a/src/plugins/irc/irc-protocol.h
+++ b/src/plugins/irc/irc-protocol.h
@@ -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 " \