1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00

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

This commit is contained in:
Sébastien Helleu
2021-10-16 09:49:29 +02:00
parent 2509486c6a
commit 6f8f547242
2 changed files with 21 additions and 16 deletions
+3 -3
View File
@@ -2648,11 +2648,11 @@ TEST(IrcProtocolWithServer, 324)
POINTERS_EQUAL(NULL, ptr_server->channels->modes);
/* not enough arguments */
/* not enough parameters */
RECV(":server 324");
CHECK_ERROR_ARGS("324", 2, 4);
CHECK_ERROR_PARAMS("324", 0, 2);
RECV(":server 324 alice");
CHECK_ERROR_ARGS("324", 3, 4);
CHECK_ERROR_PARAMS("324", 1, 2);
RECV(":server 324 alice #test +nt");
CHECK_NO_MSG;