*/
int SpanningTreeUtilities::DoCollision(User* u, TreeServer* server, time_t remotets, const std::string& remoteident, const std::string& remoteip, const std::string& remoteuid)
{
+ // At this point we're sure that a collision happened, increment the counter regardless of who wins
+ ServerInstance->stats.Collisions++;
+
/*
* Under old protocol rules, we would have had to kill both clients.
* Really, this sucks.
FIRST_MOD_RESULT(OnUserPreNick, MOD_RESULT, (this, newnick));
if (MOD_RESULT == MOD_RES_DENY)
- {
- ServerInstance->stats.Collisions++;
return false;
- }
}
if (assign(newnick) == assign(nick))