mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
irc: use parsed command parameters in "303" command callback
This commit is contained in:
@@ -2288,11 +2288,11 @@ TEST(IrcProtocolWithServer, 303)
|
||||
{
|
||||
SRV_INIT;
|
||||
|
||||
/* not enough arguments */
|
||||
/* not enough parameters */
|
||||
RECV(":server 303");
|
||||
CHECK_ERROR_ARGS("303", 2, 4);
|
||||
CHECK_ERROR_PARAMS("303", 0, 2);
|
||||
RECV(":server 303 alice");
|
||||
CHECK_ERROR_ARGS("303", 3, 4);
|
||||
CHECK_ERROR_PARAMS("303", 1, 2);
|
||||
|
||||
RECV(":server 303 alice :nick1 nick2");
|
||||
CHECK_SRV("-- Users online: nick1 nick2");
|
||||
|
||||
Reference in New Issue
Block a user