summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-10-20 10:11:16 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-10-20 10:11:16 +0000
commit2ee57a4af525d21b5b618343371f89b89dbeaa1f (patch)
tree0f372791840e07174fd991632ca16f6ed6beb489
parenta3878a522c98dd8d1060ce20f279419aad83aa25 (diff)
downloadweechat-2ee57a4af525d21b5b618343371f89b89dbeaa1f.zip
Fixed bug on ignore with "mode" IRC command (bug #18058)
-rw-r--r--ChangeLog1
-rw-r--r--src/irc/irc-recv.c2
-rw-r--r--weechat/ChangeLog1
-rw-r--r--weechat/src/irc/irc-recv.c2
4 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ca982bff1..a19ccd1f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ ChangeLog - 2006-10-20
Version 0.2.2 (under dev!):
+ * fixed bug on ignore with "mode" IRC command (bug #18058)
* fixed crash when loading ruby script if file does not exist, with
Ruby >= 1.9 only (bug #18064)
* added date in plugin function get_buffer_data()
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c
index ade984343..64ced3234 100644
--- a/src/irc/irc-recv.c
+++ b/src/irc/irc-recv.c
@@ -707,6 +707,8 @@ irc_cmd_recv_mode (t_irc_server *server, char *host, char *nick, char *arguments
ptr_channel = channel_search (server, arguments);
if (ptr_channel)
{
+ command_ignored |= ignore_check (host, "mode",
+ ptr_channel->name, server->name);
if (!command_ignored)
{
irc_display_prefix (server, ptr_channel->buffer, PREFIX_INFO);
diff --git a/weechat/ChangeLog b/weechat/ChangeLog
index ca982bff1..a19ccd1f7 100644
--- a/weechat/ChangeLog
+++ b/weechat/ChangeLog
@@ -5,6 +5,7 @@ ChangeLog - 2006-10-20
Version 0.2.2 (under dev!):
+ * fixed bug on ignore with "mode" IRC command (bug #18058)
* fixed crash when loading ruby script if file does not exist, with
Ruby >= 1.9 only (bug #18064)
* added date in plugin function get_buffer_data()
diff --git a/weechat/src/irc/irc-recv.c b/weechat/src/irc/irc-recv.c
index ade984343..64ced3234 100644
--- a/weechat/src/irc/irc-recv.c
+++ b/weechat/src/irc/irc-recv.c
@@ -707,6 +707,8 @@ irc_cmd_recv_mode (t_irc_server *server, char *host, char *nick, char *arguments
ptr_channel = channel_search (server, arguments);
if (ptr_channel)
{
+ command_ignored |= ignore_check (host, "mode",
+ ptr_channel->name, server->name);
if (!command_ignored)
{
irc_display_prefix (server, ptr_channel->buffer, PREFIX_INFO);