3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

unreal: map SETHOST/IDENT/NAME to the right hooks

This commit is contained in:
James Lu 2015-11-21 23:28:39 -08:00
parent 2080a39cf4
commit e86d21e67d

View File

@ -20,7 +20,8 @@ class UnrealProtocol(TS6BaseProtocol):
self.proto_ver = 3999
self.min_proto_ver = 3999
self.hook_map = {'UMODE2': 'MODE', 'SVSKILL': 'KILL', 'SVSMODE': 'MODE',
'SVS2MODE': 'MODE', 'SJOIN': 'JOIN'}
'SVS2MODE': 'MODE', 'SJOIN': 'JOIN', 'SETHOST': 'CHGHOST',
'SETIDENT': 'CHGIDENT', 'SETNAME': 'CHGNAME'}
self.uidgen = {}
self.sidgen = utils.TS6SIDGenerator(self.irc)