mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
irc: require nick in "away" command callback
This commit is contained in:
@@ -725,6 +725,10 @@ TEST(IrcProtocolWithServer, away)
|
||||
|
||||
SRV_INIT_JOIN;
|
||||
|
||||
/* missing nick */
|
||||
RECV("AWAY");
|
||||
CHECK_ERROR_NICK("away");
|
||||
|
||||
ptr_nick = ptr_server->channels->nicks;
|
||||
|
||||
LONGS_EQUAL(0, ptr_nick->away);
|
||||
|
||||
Reference in New Issue
Block a user