summaryrefslogtreecommitdiff
path: root/src/modules/m_opermodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermodes.cpp')
-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)