From 60a5cc1a616d06fa73a13b9601419ea0fe0345cc Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 31 Dec 2011 03:04:44 -0500 Subject: [PATCH] Bug #1369 - Fixed os_svsnick to allow changing the case of a users' nick --- modules/commands/os_svsnick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/os_svsnick.cpp b/modules/commands/os_svsnick.cpp index 65aad5094..000fef091 100644 --- a/modules/commands/os_svsnick.cpp +++ b/modules/commands/os_svsnick.cpp @@ -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 {