mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-17 14:01:03 +01:00
unreal: alias SVSKILL to KILL
This commit is contained in:
parent
4a4c43d3c4
commit
6f36fb7126
@ -19,7 +19,7 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
self.casemapping = 'ascii'
|
self.casemapping = 'ascii'
|
||||||
self.proto_ver = 3999
|
self.proto_ver = 3999
|
||||||
self.min_proto_ver = 3999
|
self.min_proto_ver = 3999
|
||||||
self.hook_map = {'UMODE2': 'MODE'}
|
self.hook_map = {'UMODE2': 'MODE', 'SVSKILL': 'KILL'}
|
||||||
self.uidgen = {}
|
self.uidgen = {}
|
||||||
|
|
||||||
self.caps = {}
|
self.caps = {}
|
||||||
@ -35,6 +35,8 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
'I': 'invex', 't': 'topiclock', 'f': 'flood_unreal'}
|
'I': 'invex', 't': 'topiclock', 'f': 'flood_unreal'}
|
||||||
self._neededCaps = ["VL", "SID", "CHANMODES", "NOQUIT", "SJ3"]
|
self._neededCaps = ["VL", "SID", "CHANMODES", "NOQUIT", "SJ3"]
|
||||||
|
|
||||||
|
self.handle_svskill = self.handle_kill
|
||||||
|
|
||||||
### OUTGOING COMMAND FUNCTIONS
|
### OUTGOING COMMAND FUNCTIONS
|
||||||
def spawnClient(self, nick, ident='null', host='null', realhost=None, modes=set(),
|
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,
|
server=None, ip='0.0.0.0', realname=None, ts=None, opertype=None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user