mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49:28 +01:00
relay: explicitly don't sync modes originating from clientbot
This commit is contained in:
parent
62f78a60a9
commit
dc364b3e9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user