diff --git a/protocols/ts6.py b/protocols/ts6.py index 8131042..05ea4bb 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -239,11 +239,6 @@ class TS6Protocol(TS6BaseProtocol): else: self._send(source, 'PING %s' % source) - def numericServer(self, source, numeric, target, text): - """Sends raw numerics from a server to a remote client, used for WHOIS - replies.""" - self._send(source, '%s %s %s' % (numeric, target, text)) - def awayClient(self, source, text): """Sends an AWAY message from a PyLink client. can be an empty string to unset AWAY status.""" diff --git a/protocols/ts6_common.py b/protocols/ts6_common.py index ae18bae..1bf621a 100644 --- a/protocols/ts6_common.py +++ b/protocols/ts6_common.py @@ -28,6 +28,11 @@ class TS6BaseProtocol(Protocol): ### OUTGOING COMMANDS + def numericServer(self, source, numeric, target, text): + """Sends raw numerics from a server to a remote client, used for WHOIS + replies.""" + self._send(source, '%s %s %s' % (numeric, target, text)) + def _sendKick(self, numeric, channel, target, reason=None): """Internal function to send kicks from a PyLink client/server.""" channel = utils.toLower(self.irc, channel)