diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2011-08-20 21:01:43 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2011-08-21 15:57:19 +0200 |
commit | 326d903503c574f4fdbc2dcc9a7f3ab9dff8627d (patch) | |
tree | cde02a16c6c1573070f41ce4b3a6f39dacaea1f5 | |
parent | eef39a6e38162a950e2b0b7c87803c8ce2dbd2b4 (diff) | |
download | miniircd-326d903503c574f4fdbc2dcc9a7f3ab9dff8627d.tar.gz miniircd-326d903503c574f4fdbc2dcc9a7f3ab9dff8627d.zip |
Understand but ignore AWAY commands
-rwxr-xr-x | miniircd | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -245,6 +245,9 @@ class Client(object): self.__handleCommand = self.__commandHandler def __commandHandler(self, command, arguments): + def awayHandler(): + pass + def joinHandler(): if len(arguments) < 1: self.message( @@ -607,6 +610,7 @@ class Client(object): username)) handlerTable = { + "AWAY": awayHandler, "JOIN": joinHandler, "LIST": listHandler, "MODE": modeHandler, |