From ed19c2b24a63538874b3859ef8ad35e3453c0f31 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 22 May 2016 19:12:11 -0700 Subject: [PATCH] relay: block topic changes from the main SID, not the PyLink client --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index e022d8a..c43d2c0 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -1169,7 +1169,7 @@ def handle_topic(irc, numeric, command, args): rsid = getRemoteSid(remoteirc, irc) remoteirc.proto.topicBurst(rsid, remotechan, topic) elif oldtopic: # Topic change blocked by claim. - irc.proto.topic(irc.pseudoclient.uid, channel, oldtopic) + irc.proto.topicBurst(irc.sid, channel, oldtopic) utils.add_hook(handle_topic, 'TOPIC')