diff options
author | Alex Wright <alex@xeentech.com> | 2013-02-11 12:13:45 +0000 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2013-02-20 21:07:28 +0100 |
commit | f2b8034a8cf19c919ce91ac2a0af8127d755a62a (patch) | |
tree | ce71393f8df76b2a9712c41eb563c0586aa0b364 /miniircd | |
parent | 34b468b33aa085fcd68e027a8b6c54fc5ad45cb5 (diff) | |
download | miniircd-f2b8034a8cf19c919ce91ac2a0af8127d755a62a.tar.gz miniircd-f2b8034a8cf19c919ce91ac2a0af8127d755a62a.zip |
Reordering luser to keep alphabetical order
Diffstat (limited to 'miniircd')
-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 |