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

Bug #1369 - Fixed os_svsnick to allow changing the case of a users' nick

This commit is contained in:
Adam
2011-12-31 03:04:44 -05:00
parent 20aa4e85ce
commit 60a5cc1a61
+1 -1
View File
@@ -52,7 +52,7 @@ class CommandOSSVSNick : public Command
/* Check for a nick in use or a forbidden/suspended nick */
if (!(u2 = finduser(nick)))
source.Reply(NICK_X_NOT_IN_USE, nick.c_str());
else if (finduser(newnick))
else if (!nick.equals_ci(newnick) && finduser(newnick))
source.Reply(_("Nick \002%s\002 is currently in use."), newnick.c_str());
else
{