1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00

irc: use parsed command parameters in "438" command callback

This commit is contained in:
Sébastien Helleu
2021-10-16 18:36:21 +02:00
parent 32c99047f4
commit 5e63161b5b
2 changed files with 15 additions and 11 deletions
+3 -3
View File
@@ -3774,11 +3774,11 @@ TEST(IrcProtocolWithServer, 438)
{
SRV_INIT;
/* not enough arguments */
/* not enough parameters */
RECV(":server 438");
CHECK_ERROR_ARGS("438", 2, 4);
CHECK_ERROR_PARAMS("438", 0, 2);
RECV(":server 438 alice");
CHECK_ERROR_ARGS("438", 3, 4);
CHECK_ERROR_PARAMS("438", 1, 2);
RECV(":server 438 alice alice2");
CHECK_SRV("-- alice alice2");