diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-14 23:21:27 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-17 21:28:31 +0200 |
commit | 8d12187f3dccb412b36841d5780f63b7ef8ae3de (patch) | |
tree | 67f191ca602002f6162beb1d5e69f5cd0efc77c1 /tests/unit/plugins | |
parent | bf8c85f422eda0d9c10e2aaddacf5e881c66887d (diff) | |
download | weechat-8d12187f3dccb412b36841d5780f63b7ef8ae3de.zip |
irc: require nick in "away" command callback
Diffstat (limited to 'tests/unit/plugins')
-rw-r--r-- | tests/unit/plugins/irc/test-irc-protocol.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp index c42c0744a..5f7c1c630 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -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); |