diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_conn_umodes.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_devoice.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_opermodes.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_samode.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp index 1e3ea1a49..7a8d66ae7 100644 --- a/src/modules/m_conn_umodes.cpp +++ b/src/modules/m_conn_umodes.cpp @@ -58,7 +58,7 @@ class ModuleModesOnConnect : public Module while (ss >> buf) modes.push_back(buf); - ServerInstance->Modes->Process(modes, user); + ServerInstance->Parser.CallHandler("MODE", modes, user); } memcpy(ServerInstance->Config->DisabledUModes, save, 64); diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp index 901f77b1a..4e4b3a354 100644 --- a/src/modules/m_devoice.cpp +++ b/src/modules/m_devoice.cpp @@ -43,7 +43,7 @@ class CommandDevoice : public Command modes.push_back("-v"); modes.push_back(user->nick); - ServerInstance->Modes->Process(modes, ServerInstance->FakeClient); + ServerInstance->Parser.CallHandler("MODE", modes, ServerInstance->FakeClient); return CMD_SUCCESS; } }; diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp index 7ab54cedf..33ebb57a0 100644 --- a/src/modules/m_opermodes.cpp +++ b/src/modules/m_opermodes.cpp @@ -60,7 +60,7 @@ class ModuleModesOnOper : public Module while (ss >> buf) modes.push_back(buf); - ServerInstance->Modes->Process(modes, u); + ServerInstance->Parser.CallHandler("MODE", modes, u); } }; diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index 14f79aaf7..b8601ef9a 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -53,7 +53,7 @@ class CommandSamode : public Command return CMD_FAILURE; } this->active = true; - ServerInstance->Modes->Process(parameters, user); + ServerInstance->Parser.CallHandler("MODE", parameters, user); if (ServerInstance->Modes->GetLastParse().length()) ServerInstance->SNO->WriteGlobalSno('a', user->nick + " used SAMODE: " +ServerInstance->Modes->GetLastParse()); this->active = false; |