summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-12-31 03:04:44 -0500
committerAdam <Adam@anope.org>2011-12-31 03:04:44 -0500
commit60a5cc1a616d06fa73a13b9601419ea0fe0345cc (patch)
treefeaf9041bb0a9d73fb17e48a34e98db9fc3a7947
parent20aa4e85ce11a5d286f027638c4af82251c2afb9 (diff)
Bug #1369 - Fixed os_svsnick to allow changing the case of a users' nick
-rw-r--r--modules/commands/os_svsnick.cpp2
1 files changed, 1 insertions, 1 deletions
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
{