summaryrefslogtreecommitdiff
path: root/miniircd
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-11-16 21:59:30 +0100
committerJoel Rosdahl <joel@rosdahl.net>2011-11-16 21:59:30 +0100
commit37c80c181a21dec4278a565a3069272c064a71ed (patch)
tree84885c3083243c0597f514eb11000c3aab676a49 /miniircd
parentcbf1c3ca2a154bbc7312db3efd644fd4c3400964 (diff)
downloadminiircd-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-xminiircd2
1 files changed, 2 insertions, 0 deletions
diff --git a/miniircd b/miniircd
index 724ea56..36953ea 100755
--- a/miniircd
+++ b/miniircd
@@ -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):