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_nonicks.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules/m_nonicks.cpp') diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index 58fe054b5..8981097be 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -61,10 +61,6 @@ class ModuleNoNickChange : public Module if (!IS_LOCAL(user)) return MOD_RES_PASSTHRU; - // Allow forced nick changes. - if (ServerInstance->NICKForced.get(user)) - return MOD_RES_PASSTHRU; - for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++) { Channel* curr = *i; -- cgit v1.3.1-10-gc9f91