diff options
-rwxr-xr-x | miniircd | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -228,9 +228,6 @@ class Client(object): online = [n for n in nicks if server.get_client(n)] self.reply("303 %s :%s" % (self.nickname, " ".join(online))) - def lusers_handler(): - self.send_lusers() - def join_handler(): if len(arguments) < 1: self.reply_461("JOIN") @@ -293,6 +290,9 @@ class Client(object): len(channel.members), channel.topic)) self.reply("323 %s :End of LIST" % self.nickname) + def lusers_handler(): + self.send_lusers() + def mode_handler(): if len(arguments) < 1: self.reply_461("MODE") @@ -513,6 +513,7 @@ class Client(object): "ISON": ison_handler, "JOIN": join_handler, "LIST": list_handler, + "LUSERS": lusers_handler, "MODE": mode_handler, "MOTD": motd_handler, "NICK": nick_handler, @@ -526,7 +527,6 @@ class Client(object): "WALLOPS": wallops_handler, "WHO": who_handler, "WHOIS": whois_handler, - "LUSERS": lusers_handler, } server = self.server valid_channel_re = self.__valid_channelname_regexp |