diff options
author | Adam <Adam@anope.org> | 2011-12-31 03:04:44 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-12-31 03:04:44 -0500 |
commit | 60a5cc1a616d06fa73a13b9601419ea0fe0345cc (patch) | |
tree | feaf9041bb0a9d73fb17e48a34e98db9fc3a7947 /modules/commands/os_svsnick.cpp | |
parent | 20aa4e85ce11a5d286f027638c4af82251c2afb9 (diff) |
Bug #1369 - Fixed os_svsnick to allow changing the case of a users' nick
Diffstat (limited to 'modules/commands/os_svsnick.cpp')
-rw-r--r-- | modules/commands/os_svsnick.cpp | 2 |
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 { |