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

unreal: alias SVSKILL to KILL

This commit is contained in:
James Lu 2015-11-01 21:50:46 -08:00
parent 4a4c43d3c4
commit 6f36fb7126

View File

@ -19,7 +19,7 @@ class UnrealProtocol(TS6BaseProtocol):
self.casemapping = 'ascii'
self.proto_ver = 3999
self.min_proto_ver = 3999
self.hook_map = {'UMODE2': 'MODE'}
self.hook_map = {'UMODE2': 'MODE', 'SVSKILL': 'KILL'}
self.uidgen = {}
self.caps = {}
@ -35,6 +35,8 @@ class UnrealProtocol(TS6BaseProtocol):
'I': 'invex', 't': 'topiclock', 'f': 'flood_unreal'}
self._neededCaps = ["VL", "SID", "CHANMODES", "NOQUIT", "SJ3"]
self.handle_svskill = self.handle_kill
### OUTGOING COMMAND FUNCTIONS
def spawnClient(self, nick, ident='null', host='null', realhost=None, modes=set(),
server=None, ip='0.0.0.0', realname=None, ts=None, opertype=None,