summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-17 02:00:19 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-17 02:00:19 +0000
commiteb951852d92f3c68f4cc3ef213445e129fea8130 (patch)
treefd162d2d886683de6a3923e9a3b64891a0c72b81
parent54fb0cd5aa7d090d5c3da5ab54988c86ba8a2e8e (diff)
erm, why are we doing this twice?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12146 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_opermodes.cpp6
1 files changed, 0 insertions, 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)