mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 05:02:33 +01:00
relay: only block cmodes from relaying on clientbot (#289)
This commit is contained in:
parent
f457018f89
commit
6bc3191077
@ -1215,8 +1215,8 @@ def handle_mode(irc, numeric, command, args):
|
|||||||
target = args['target']
|
target = args['target']
|
||||||
modes = args['modes']
|
modes = args['modes']
|
||||||
|
|
||||||
if irc.protoname == 'clientbot':
|
if irc.protoname == 'clientbot' and utils.isChannel(target):
|
||||||
# We don't sync modes with clientbot networks... that's just too much of a PITA
|
# We don't sync cmodes with clientbot networks yet.
|
||||||
return
|
return
|
||||||
|
|
||||||
for name, remoteirc in world.networkobjects.copy().items():
|
for name, remoteirc in world.networkobjects.copy().items():
|
||||||
|
Loading…
Reference in New Issue
Block a user