mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
irc: use parsed command parameters in "332" command callback
This commit is contained in:
@@ -2810,11 +2810,11 @@ TEST(IrcProtocolWithServer, 332)
|
||||
{
|
||||
SRV_INIT_JOIN;
|
||||
|
||||
/* not enough arguments */
|
||||
/* not enough parameters */
|
||||
RECV(":server 332");
|
||||
CHECK_ERROR_ARGS("332", 2, 4);
|
||||
CHECK_ERROR_PARAMS("332", 0, 2);
|
||||
RECV(":server 332 alice");
|
||||
CHECK_ERROR_ARGS("332", 3, 4);
|
||||
CHECK_ERROR_PARAMS("332", 1, 2);
|
||||
|
||||
POINTERS_EQUAL(NULL, ptr_server->channels->topic);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user