diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-01-04 19:53:48 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-01-04 19:53:48 +0100 |
commit | 8c49475f7576bd9eadb9816a9c725a2df99e85f6 (patch) | |
tree | e349b84f9a91ade01b9c46c22fb37deb80925230 /tests | |
parent | 08e0d3912ad37f9faf600ab9d2049792b236516e (diff) | |
download | weechat-8c49475f7576bd9eadb9816a9c725a2df99e85f6.zip |
irc: fix display of message 344 received as whois geo info (closes #1736)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/plugins/irc/test-irc-protocol.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp index 66ee82d29..11d67200e 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -2976,16 +2976,21 @@ TEST(IrcProtocolWithServer, 344) RECV(":server 344 alice #test"); CHECK_ERROR_PARAMS("344", 2, 3); + /* channel reop (IRCnet) */ RECV(":server 344 alice #test nick!user@host"); CHECK_SRV("-- Channel reop #test: nick!user@host"); RECV(":server 344 alice #test :nick!user@host"); CHECK_SRV("-- Channel reop #test: nick!user@host"); - /* channel not found */ + /* channel reop (IRCnet), channel not found */ RECV(":server 344 alice #xyz nick!user@host"); CHECK_SRV("-- Channel reop #xyz: nick!user@host"); RECV(":server 344 alice #xyz :nick!user@host"); CHECK_SRV("-- Channel reop #xyz: nick!user@host"); + + /* whois, geo info (UnrealIRCd) */ + RECV(":server 344 alice bob FR :is connecting from France"); + CHECK_SRV("-- [bob] FR is connecting from France"); } /* |