diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-22 11:44:19 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-22 11:44:19 +0100 |
commit | 57e195391bff0c85326bd271c362ab5b34f67dd7 (patch) | |
tree | 7327fdf9f54c93de2a4bba00554d484c190acb53 /src/plugins/relay/irc/relay-irc.c | |
parent | 639fbbff793b5b9ac679e4ff85c8dabe67d4effe (diff) | |
download | weechat-57e195391bff0c85326bd271c362ab5b34f67dd7.zip |
relay: fix NULL pointer when reading buffer lines for irc backlog
Diffstat (limited to 'src/plugins/relay/irc/relay-irc.c')
-rw-r--r-- | src/plugins/relay/irc/relay-irc.c | 2 |
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; |