From f3d134a5b642b83e865c03b45c313df7f829ba15 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 16 May 2013 16:00:19 +0200 Subject: Get rid of the NICKForced extension Don't run OnUserPreNick when the nick change is forced --- src/modules/m_nickflood.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/modules/m_nickflood.cpp') diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp index e7533fc07..de9b64f99 100644 --- a/src/modules/m_nickflood.cpp +++ b/src/modules/m_nickflood.cpp @@ -150,9 +150,6 @@ class ModuleNickFlood : public Module ModResult OnUserPreNick(User* user, const std::string &newnick) CXX11_OVERRIDE { - if (ServerInstance->NICKForced.get(user)) /* Allow forced nick changes */ - return MOD_RES_PASSTHRU; - for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++) { Channel *channel = *i; -- cgit v1.2.3