summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-05 15:59:06 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-05 15:59:06 +0000
commitd560adec9e578c40f786a0849e3a15f99e738b56 (patch)
treefb9fd98046a969ece8b3e8ed41774a91c477bb9e /src/users.cpp
parent82a3069c5604a8b815021532ebfcc98cb50c9c7d (diff)
Fix NICKLOCK/SANICK errors with Q:lined nicks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12378 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 1392af075..c01b5d1b2 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -904,7 +904,7 @@ bool User::ChangeNick(const std::string& newnick, bool force)
* Also don't check Q:Lines for remote nickchanges, they should have our Q:Lines anyway to enforce themselves.
* -- w00t
*/
- if (!IS_LOCAL(this))
+ if (IS_LOCAL(this))
{
XLine* mq = ServerInstance->XLines->MatchesLine("Q",newnick);
if (mq)