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:
1 parent
41032f8955
commit
ee9ad2ff8e
5 files changed
+22
-18
No files matched your search
@@ -234,7 +234,7 @@ TEST_F(ZNCTest, KeepNickModule) {
|
||||
ircd.ReadUntil("NICK user");
|
||||
ircd.Write(":server 435 user_ user #error :Nope :-P");
|
||||
client.ReadUntil(
|
||||
":*keepnick!znc@znc.in PRIVMSG user_ "
|
||||
":*keepnick!keepnick@znc.in PRIVMSG user_ "
|
||||
":Unable to obtain nick user: Nope :-P, #error");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user