summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-protocol.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 3cae073a9..4493bda84 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -3288,8 +3288,14 @@ IRC_PROTOCOL_CALLBACK(privmsg)
IRC_CHANNEL_TYPING_STATE_OFF);
}
- if (ptr_channel && (!nick_is_me || !cap_echo_message))
+ if (ptr_channel
+ && (!nick_is_me
+ || !cap_echo_message
+ || (irc_server_strcasecmp (server,
+ server->nick, remote_nick) == 0)))
+ {
irc_channel_set_topic (ptr_channel, address);
+ }
if (nick_is_me)
{