3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-23 18:54:05 +01:00

ts6: remove leftover mode filtering in mode()

This commit is contained in:
James Lu 2017-01-08 20:43:08 -08:00
parent 74755db6e1
commit aafd734e3a

View File

@ -186,7 +186,7 @@ class TS6Protocol(TS6BaseProtocol):
while modes[:10]:
# Seriously, though. If you send more than 10 mode parameters in
# 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:]
self._send(numeric, 'TMODE %s %s %s' % (ts, target, joinedmodes))
else: