about summary refs log tree commit diff
path: root/src/testsuite/message-test.e
diff options
context:
space:
mode:
authorDNS777 <dns@rbose.org>2012-10-19 18:37:33 +0200
committerAlexander Barton <alex@barton.de>2012-10-19 18:38:46 +0200
commit3ee98d9f72449c88861744aebdd0a2e570bc3bc5 (patch)
treeeb8f46c5880a0ca9e8a691a4225c6b8cbe8ae895 /src/testsuite/message-test.e
parentb1a5ade88f304d7e7c5a2c41511061141842dadd (diff)
downloadngircd-3ee98d9f72449c88861744aebdd0a2e570bc3bc5.tar.gz
ngircd-3ee98d9f72449c88861744aebdd0a2e570bc3bc5.zip
Update error messages for user mode +b and channel Mode +M.
Replaced error message for channel mode +M with ERR_NEEDREGGEDNICK_MSG
(used by Bahamut, inspircd, ircu & Unreal too) and using numeric 477
and the msg simliar like inspircd.

Replaced the error message ERR_CANNOTSENDTONICK_MSG for user mode +b
with ERR_NONONREG_MSG and using numeric 486, similar like unrealircd.

(cherry picked from commit 55a61ab17f63a9e757b7c7598c31b98ce5a132e8
and commit 3737d9ab7da1ea0485cefc07c65dc5308bf0db02)
Diffstat (limited to 'src/testsuite/message-test.e')
-rw-r--r--src/testsuite/message-test.e2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testsuite/message-test.e b/src/testsuite/message-test.e
index 4cbc066e..6e63bb52 100644
--- a/src/testsuite/message-test.e
+++ b/src/testsuite/message-test.e
@@ -61,7 +61,7 @@ expect {
 send "privmsg nick :test\r"
 expect {
 	timeout { exit 1 }
-	"976"
+	"486"
 }
 send "mode nick -b\r"
 expect {