1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

irc: display command 437 on server buffer when nickname cannot change while banned on channel (closes #88)

This commit is contained in:
Sébastien Helleu
2023-05-16 13:15:45 +02:00
parent 8d35e67dd6
commit 2a3d98c996
3 changed files with 15 additions and 4 deletions
+3 -1
View File
@@ -4289,7 +4289,7 @@ TEST(IrcProtocolWithServer, 437_not_connected)
TEST(IrcProtocolWithServer, 437_connected)
{
SRV_INIT;
SRV_INIT_JOIN;
/* not enough parameters */
RECV(":server 437");
@@ -4303,6 +4303,8 @@ TEST(IrcProtocolWithServer, 437_connected)
CHECK_SRV("-- * alice error");
RECV(":server 437 * alice :Nick/channel is temporarily unavailable");
CHECK_SRV("-- * alice Nick/channel is temporarily unavailable");
RECV(":server 437 alice #test :Cannot change nickname while banned on channel");
CHECK_SRV("-- #test: Cannot change nickname while banned on channel");
}
/*