mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
irc: use parsed command parameters in "301" command callback
This commit is contained in:
@@ -2264,9 +2264,9 @@ TEST(IrcProtocolWithServer, 301)
|
||||
RECV(":bob!user@host PRIVMSG alice :hi Alice!");
|
||||
CHECK_PV("bob", "bob hi Alice!");
|
||||
|
||||
/* not enough arguments */
|
||||
/* not enough parameters */
|
||||
RECV(":server 301");
|
||||
CHECK_ERROR_ARGS("301", 2, 3);
|
||||
CHECK_ERROR_PARAMS("301", 0, 1);
|
||||
|
||||
POINTERS_EQUAL(NULL, ptr_server->channels->away_message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user