]> jfr.im git - irc/evilnet/znc.git/commit
Don't use the same or overlapping NickPrefix as StatusPrefix in the crypt module
authorCizzle <redacted>
Wed, 22 Feb 2017 15:25:08 +0000 (16:25 +0100)
committerAlexey Sokolov <redacted>
Wed, 22 Feb 2017 15:25:08 +0000 (15:25 +0000)
commitfc450cb4867639cb1ba049187a6b24569d9aa28b
treeabbf200b07983129541c024675195671ff0ebb2c
parent96dcde4329bdfca9d7e0c5dd7926057ee87a98b9
Don't use the same or overlapping NickPrefix as StatusPrefix in the crypt module

Don't use a key which is a valid nickname, now changed to "@nick-prefix@" instead.
If you had loaded the crypt module before, the old settings will be converted.

Also check if the nick-prefix and status-prefix aren't the same or overlapping, "*" or "." are then used depending on either value. If they would be the same, you would be messaging a module instead of a user.
And if they'd overlap, depending on the nick, you could be messaging a module as well.
modules/crypt.cpp