3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

unreal: handle user mode changes via MODE

This commit is contained in:
James Lu 2017-01-02 12:20:20 -08:00
parent fc3ee8d402
commit 9a01a5285f

View File

@ -715,9 +715,8 @@ class UnrealProtocol(TS6BaseProtocol):
self.updateTS(numeric, channel, their_ts)
return {'target': channel, 'modes': parsedmodes, 'channeldata': oldobj}
else:
log.warning("(%s) received MODE for non-channel target: %r",
self.irc.name, args)
raise NotImplementedError
# User mode change: pass those on to handle_umode2()
self.handle_umode2(numeric, 'MODE', args[1:])
def checkCloakChange(self, uid, parsedmodes):
"""