]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/message-test.e
Send_Message: Fix handling of "empty" targets
[ngircd-alex.git] / src / testsuite / message-test.e
index e46378637b8c2ff44df43a85d13911484809eeec..9eb22e77896fd0bd6241059147c3093861d1ecd0 100644 (file)
@@ -38,6 +38,17 @@ expect {
        "@* PRIVMSG nick :test"
 }
 
+send "privmsg ,,,, :dummy\r"
+send "privmsg ,,,nick,,&server,,, :test\r"
+expect {
+       timeout { exit 1 }
+       "@* PRIVMSG nick :test"
+}
+expect {
+       timeout { exit 1 }
+       "404"
+}
+
 send "privmsg Nick,#testChannel,nick :test\r"
 expect {
        timeout { exit 1 }