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

clientbot: stub kill() and numeric()

This commit is contained in:
James Lu 2016-07-21 18:16:15 -07:00
parent 95ee94e747
commit 3e8ed35aea

View File

@ -174,7 +174,7 @@ class ClientbotWrapperProtocol(Protocol):
def _stub(self, *args):
"""Stub outgoing command function (does nothing)."""
return
away = mode = topic = topicBurst = knock = updateClient = _stub
kill = away = mode = topic = topicBurst = knock = updateClient = numeric = _stub
def handle_events(self, data):
"""Event handler for the RFC1459/2812 (clientbot) protocol."""