1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

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

This commit is contained in:
Sébastien Helleu
2021-10-14 23:17:56 +02:00
parent 179822fb91
commit bf8c85f422
2 changed files with 15 additions and 8 deletions
@@ -1709,6 +1709,10 @@ TEST(IrcProtocolWithServer, quit)
SRV_INIT_JOIN;
/* missing nick */
RECV("QUIT");
CHECK_ERROR_NICK("quit");
RECV(":bob!user@host PRIVMSG alice :hi Alice!");
CHECK_PV("bob", "bob hi Alice!");