3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-11 20:52:42 +01:00

clientbot: properly stub a lot more functions

This commit is contained in:
James Lu 2016-07-17 23:09:57 -07:00
parent dd0c5c7e63
commit 8fb3310d33

View File

@ -162,6 +162,10 @@ class ClientbotWrapperProtocol(Protocol):
def squit(self, source, target, text):
self._squit(source, target, text)
def _stub(self, *args):
return
away = mode = topic = topicBurst = invite = knock = _stub
def handle_events(self, data):
"""Event handler for the RFC1459/2812 (clientbot) protocol."""
data = data.split(" ")