summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
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)