From dc364b3e9e15b3cff9cd7e4d3506dea33c1e1c44 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 24 Jul 2016 11:11:54 -0700 Subject: [PATCH] relay: explicitly don't sync modes originating from clientbot --- plugins/relay.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/relay.py b/plugins/relay.py index 52a6de4..6fb62d7 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -1210,6 +1210,11 @@ for c in ('CHGHOST', 'CHGNAME', 'CHGIDENT'): def handle_mode(irc, numeric, command, args): target = args['target'] modes = args['modes'] + + if irc.protoname == 'clientbot': + # We don't sync modes with clientbot networks... that's just too much of a PITA + return + for name, remoteirc in world.networkobjects.copy().items(): if irc.name == name or not remoteirc.connected.is_set(): continue