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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user