diff --git a/protocols/inspircd.py b/protocols/inspircd.py index f118ba9..2cc07fb 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -157,7 +157,7 @@ class InspIRCdProtocol(TS6BaseProtocol): """Internal function to send mode changes from a PyLink client/server.""" # -> :9PYAAAAAA FMODE #pylink 1433653951 +os 9PYAAAAAA # -> :9PYAAAAAA MODE 9PYAAAAAA -i+w - log.debug('(%s) inspself.ircd._sendModes: received %r for mode list', self.irc.name, modes) + log.debug('(%s) inspircd._sendModes: received %r for mode list', self.irc.name, modes) if ('+o', None) in modes and not utils.isChannel(target): # https://github.com/inspself.ircd/inspself.ircd/blob/master/src/modules/m_spanningtree/opertype.cpp#L26-L28 # Servers need a special command to set umode +o on people. diff --git a/protocols/ts6.py b/protocols/ts6.py index c2b7b6b..223bf42 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -135,6 +135,7 @@ class TS6Protocol(TS6BaseProtocol): def _sendModes(self, numeric, target, modes, ts=None): """Internal function to send mode changes from a PyLink client/server.""" utils.applyModes(self.irc, target, modes) + modes = list(modes) if utils.isChannel(target): ts = ts or self.irc.channels[utils.toLower(self.irc, target)].ts # TMODE: