3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00

unreal: remove handle_kill override; unneeded as of aa4e9335aa

This commit is contained in:
James Lu 2017-07-05 01:26:45 -07:00
parent c2e65ff9c3
commit 30b9f47023

View File

@ -908,16 +908,6 @@ class UnrealProtocol(TS6BaseProtocol):
self.users[target].realname = newgecos = args[1]
return {'target': target, 'newgecos': newgecos}
def handle_kill(self, numeric, command, args):
"""Handles incoming KILLs."""
# <- :GL| KILL GLolol :hidden-1C620195!GL| (test)
# Use ts6_common's handle_kill, but coerse UIDs to nicks first.
new_args = [self._get_UID(args[0])]
new_args.extend(args[1:])
return super().handle_kill(numeric, command, new_args)
def handle_tsctl(self, source, command, args):
"""Handles /TSCTL alltime requests."""
# <- :GL TSCTL alltime