From 1acecec2792dc20260546a27be079db4818e9491 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 15 Feb 2010 01:33:25 +0000 Subject: Allow forced nick change to bypass Q:Lines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12460 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 89a064b1f..0f6cba2da 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -861,7 +861,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) && !force) { XLine* mq = ServerInstance->XLines->MatchesLine("Q",newnick); if (mq) -- cgit v1.2.3