mirror of
https://github.com/znc/znc.git
synced 2026-06-29 22:41:39 +02:00
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:
@@ -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