Use module names as the module ident.

Some clients will reuse query windows as the client thinks its just a
nick change if you have a existing query window with a module and a different one messages you.

Fix that by using the modules name as the ident.

Update tests to match new modules ident.
This commit is contained in:
KindOne committed 2023-09-08 07:21:31 -04:00
1 parent 41032f8955
commit ee9ad2ff8e
5 files changed
+22 -18

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ TEST_F(IRCSockTest, OnErrorMessage) {
EXPECT_THAT(
m_pTestClient->vsLines,
ElementsAre(
":*status!znc@znc.in PRIVMSG me :Error from server: foo bar"));
":*status!status@znc.in PRIVMSG me :Error from server: foo bar"));
}
TEST_F(IRCSockTest, OnInviteMessage) {