summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-mode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-mode.c b/src/plugins/irc/irc-mode.c
index 21a02346c..e8ad61966 100644
--- a/src/plugins/irc/irc-mode.c
+++ b/src/plugins/irc/irc-mode.c
@@ -447,10 +447,11 @@ irc_mode_channel_set (struct t_irc_server *server,
irc_nick_set_mode (server, channel, ptr_nick,
(set_flag == '+'), pos[0]);
if (smart_filter
- && irc_channel_nick_speaking_time_search (server,
+ && (irc_channel_nick_speaking_time_search (server,
channel,
ptr_nick->name,
- 1))
+ 1)
+ || irc_server_strcasecmp (server, ptr_nick->name, server->nick) == 0))
{
smart_filter = 0;
}