From eb951852d92f3c68f4cc3ef213445e129fea8130 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 17 Nov 2009 02:00:19 +0000 Subject: [PATCH] erm, why are we doing this twice? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12146 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_opermodes.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp index 94a9eefe9..c95a55535 100644 --- a/src/modules/m_opermodes.cpp +++ b/src/modules/m_opermodes.cpp @@ -48,12 +48,6 @@ class ModuleModesOnOper : public Module { ApplyModes(user, ThisOpersModes); } - - ThisOpersModes = user->oper->getConfig("modes"); - if (!ThisOpersModes.empty()) - { - ApplyModes(user, ThisOpersModes); - } } void ApplyModes(User *u, std::string &smodes) -- 2.39.5