mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
parent
44744fa510
commit
e9088792af
@ -886,4 +886,12 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
|
||||
return super().handle_kill(numeric, command, new_args)
|
||||
|
||||
def handle_tsctl(self, source, command, args):
|
||||
"""Handles /TSCTL alltime requests."""
|
||||
# <- :GL TSCTL alltime
|
||||
|
||||
if args[0] == 'alltime':
|
||||
# XXX: We override notice() here because that abstraction doesn't allow messages from servers.
|
||||
self._send(self.irc.sid, 'NOTICE %s :*** Server=%s time()=%d' % (source, self.irc.hostname(), time.time()))
|
||||
|
||||
Class = UnrealProtocol
|
||||
|
Loading…
Reference in New Issue
Block a user