summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-09 11:47:04 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-09 11:47:04 +0000
commit12e974a85d32135f859385a1bc40f7369330efda (patch)
tree7f584ab035ca5b83a8d780fdbf8303e5eb2ae1d9
parent988e6824d56c603e002813763332816b6d35412b (diff)
Fake lag on nick change, thanks pLaYa
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8674 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/commands/cmd_nick.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/cmd_nick.cpp b/src/commands/cmd_nick.cpp
index 06fc5dcc3..8aa9e19a7 100644
--- a/src/commands/cmd_nick.cpp
+++ b/src/commands/cmd_nick.cpp
@@ -154,6 +154,7 @@ CmdResult CommandNick::Handle (const char** parameters, int, User *user)
}
else if (user->registered == REG_ALL)
{
+ user->IncreasePenalty(10);
FOREACH_MOD(I_OnUserPostNick,OnUserPostNick(user,oldnick));
}