3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-28 13:42:37 +01:00

ratbox: stub updateClient to prevent hostname desyncs

In ratbox, arbitrary host changing via CHGHOST is not supported.
This commit is contained in:
James Lu 2016-10-01 00:19:52 -07:00
parent 39987b6dcc
commit bd9885182e

View File

@ -74,6 +74,10 @@ class RatboxProtocol(TS6Protocol):
return u
def updateClient(self, target, field, text):
"""updateClient() stub for ratbox."""
raise NotImplementedError
def handle_realhost(self, uid, command, args):
"""Handles real host propagation."""
log.debug('(%s) Got REALHOST %s for %s', args[0], uid)