summaryrefslogtreecommitdiff
path: root/src/modules/m_nickflood.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-05-09 12:37:44 +0100
committerPeter Powell <petpow@saberuk.com>2019-05-09 12:37:44 +0100
commit7f979b895eadd482c16a354f656493adcc28072f (patch)
treecd6ec5fed7f1422b6eb32356e7e64aac868021ac /src/modules/m_nickflood.cpp
parent5610d70e4c14514e0e14be971fd0108c3ea3c1fb (diff)
Delete some obsolete comments.
Diffstat (limited to 'src/modules/m_nickflood.cpp')
-rw-r--r--src/modules/m_nickflood.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp
index 17d6db956..9b8bbcdb6 100644
--- a/src/modules/m_nickflood.cpp
+++ b/src/modules/m_nickflood.cpp
@@ -54,10 +54,6 @@ class nickfloodsettings
bool shouldlock()
{
- /* XXX HACK: using counter + 1 here now to allow the counter to only be incremented
- * on successful nick changes; this will be checked before the counter is
- * incremented.
- */
return ((ServerInstance->Time() <= reset) && (counter == this->nicks));
}