summaryrefslogtreecommitdiff
path: root/src/plugins/relay/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/relay/irc')
-rw-r--r--src/plugins/relay/irc/relay-irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c
index c2327158b..311d5a837 100644
--- a/src/plugins/relay/irc/relay-irc.c
+++ b/src/plugins/relay/irc/relay-irc.c
@@ -665,7 +665,7 @@ relay_irc_get_line_info (struct t_relay_client *client,
{
localvar_nick = weechat_buffer_get_string (buffer, "localvar_nick");
if (localvar_nick && localvar_nick[0]
- && (strcmp (ptr_nick, localvar_nick) == 0))
+ && ptr_nick && (strcmp (ptr_nick, localvar_nick) == 0))
{
command = -1;
return;