summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-20 16:04:21 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-20 16:04:21 +0200
commit3323226c38c959392e61f406ec62f9d5f24fce15 (patch)
treea19fe4f427be15a5eb85aee22dbba6fe3ee185c8 /src/users.cpp
parent7b0f3072986ae8e6d356afd18e17e90deeb204bd (diff)
Increment serverstats::Collisions when a collision is handled, not when a module denies a nick change
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 4988590d9..1290b92be 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -625,10 +625,7 @@ bool User::ChangeNick(const std::string& newnick, bool force, time_t newts)
FIRST_MOD_RESULT(OnUserPreNick, MOD_RESULT, (this, newnick));
if (MOD_RESULT == MOD_RES_DENY)
- {
- ServerInstance->stats.Collisions++;
return false;
- }
}
if (assign(newnick) == assign(nick))