3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 12:12:53 +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) self.updateTS(numeric, channel, their_ts)
return {'target': channel, 'modes': parsedmodes, 'channeldata': oldobj} return {'target': channel, 'modes': parsedmodes, 'channeldata': oldobj}
else: else:
log.warning("(%s) received MODE for non-channel target: %r", # User mode change: pass those on to handle_umode2()
self.irc.name, args) self.handle_umode2(numeric, 'MODE', args[1:])
raise NotImplementedError
def checkCloakChange(self, uid, parsedmodes): def checkCloakChange(self, uid, parsedmodes):
""" """