1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

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

This commit is contained in:
Sébastien Helleu
2021-10-16 09:43:45 +02:00
parent df9c32b0c3
commit 2509486c6a
2 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -2625,9 +2625,9 @@ TEST(IrcProtocolWithServer, 323)
{
SRV_INIT;
/* not enough arguments */
/* not enough parameters */
RECV(":server 323");
CHECK_ERROR_ARGS("323", 2, 3);
CHECK_ERROR_PARAMS("323", 0, 1);
RECV(":server 323 alice");
CHECK_NO_MSG;