mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-24 03:04:05 +01:00
ts6: remove leftover mode filtering in mode()
This commit is contained in:
parent
74755db6e1
commit
aafd734e3a
@ -186,7 +186,7 @@ class TS6Protocol(TS6BaseProtocol):
|
|||||||
while modes[:10]:
|
while modes[:10]:
|
||||||
# Seriously, though. If you send more than 10 mode parameters in
|
# Seriously, though. If you send more than 10 mode parameters in
|
||||||
# a line, charybdis will silently REJECT the entire command!
|
# a line, charybdis will silently REJECT the entire command!
|
||||||
joinedmodes = self.irc.joinModes([m for m in modes[:10] if m[0] not in self.irc.cmodes['*A']])
|
joinedmodes = self.irc.joinModes([m for m in modes[:10]])
|
||||||
modes = modes[10:]
|
modes = modes[10:]
|
||||||
self._send(numeric, 'TMODE %s %s %s' % (ts, target, joinedmodes))
|
self._send(numeric, 'TMODE %s %s %s' % (ts, target, joinedmodes))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user