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

relay: fix NULL pointer when reading buffer lines for irc backlog

This commit is contained in:
Sebastien Helleu
2014-02-22 11:44:19 +01:00
parent 639fbbff79
commit 57e195391b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -36,6 +36,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* lua: fix interpreter used after unload of a script
* perl: fix context used after unload of a script
* python: fix interpreter used after unload of a script
* relay: fix NULL pointer when reading buffer lines for irc backlog
* trigger: add trigger plugin: new command /trigger and file trigger.conf
== Version 0.4.3 (2014-02-09)
+1 -1
View File
@@ -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;