Skip to content

Commit

Permalink
Fix nick change desync when users change to a Q:lined nick
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12379 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
danieldg committed Feb 5, 2010
1 parent b9db10d commit 456534e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/cmd_nick.cpp
Expand Up @@ -91,7 +91,7 @@ CmdResult CommandNick::Handle (const std::vector<std::string>& parameters, User
* Also don't check Q:Lines for remote nickchanges, they should have our Q:Lines anyway to enforce themselves.
* -- w00t
*/
if (!allowinvalid || !IS_LOCAL(user))
if (IS_LOCAL(user) && !allowinvalid)
{
XLine* mq = ServerInstance->XLines->MatchesLine("Q",parameters[0]);
if (mq)
Expand Down

0 comments on commit 456534e

Please sign in to comment.