From e86d21e67d4d155984d8c354e1052472bcaaa24e Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 21 Nov 2015 23:28:39 -0800 Subject: [PATCH] unreal: map SETHOST/IDENT/NAME to the right hooks --- protocols/unreal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/unreal.py b/protocols/unreal.py index eb9ad38..c929dcc 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -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)