diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2011-11-16 21:59:30 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2011-11-16 21:59:30 +0100 |
commit | 37c80c181a21dec4278a565a3069272c064a71ed (patch) | |
tree | 84885c3083243c0597f514eb11000c3aab676a49 /miniircd | |
parent | cbf1c3ca2a154bbc7312db3efd644fd4c3400964 (diff) | |
download | miniircd-37c80c181a21dec4278a565a3069272c064a71ed.tar.gz miniircd-37c80c181a21dec4278a565a3069272c064a71ed.zip |
Send 422 message after registration when no MOTD is available
Apparently, some clients wait for either 422 or 376 to consider the
registration procedure complete.
Diffstat (limited to 'miniircd')
-rwxr-xr-x | miniircd | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -510,6 +510,8 @@ class Client(object): for line in motdlines: self.reply("372 %s :- %s" % (self.nickname, line.rstrip())) self.reply("376 %s :End of /MOTD command" % self.nickname) + else: + self.reply("422 %s :MOTD File is missing" % self.nickname) class Server(object): |