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

irc: fix display of message 344 received as whois geo info (closes #1736)

This commit is contained in:
Sébastien Helleu
2022-01-04 19:53:48 +01:00
parent 08e0d3912a
commit 8c49475f75
3 changed files with 40 additions and 22 deletions
+6 -1
View File
@@ -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");
}
/*