diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-17 02:00:19 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-17 02:00:19 +0000 |
commit | eb951852d92f3c68f4cc3ef213445e129fea8130 (patch) | |
tree | fd162d2d886683de6a3923e9a3b64891a0c72b81 /src | |
parent | 54fb0cd5aa7d090d5c3da5ab54988c86ba8a2e8e (diff) |
erm, why are we doing this twice?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12146 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_opermodes.cpp | 6 |
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) |