diff options
| author | 2014-09-04 12:34:26 +0200 | |
|---|---|---|
| committer | 2014-09-04 12:34:26 +0200 | |
| commit | 6fe96bda2531cb1357f35c6d0717910283e2d921 (patch) | |
| tree | 52db844003fff5bdd7d133d652a040438f0ff71c /src/modules/m_samode.cpp | |
| parent | m_spanningtree Simplify processing non-prefix modes in FJOINs (diff) | |
| download | inspircd++-6fe96bda2531cb1357f35c6d0717910283e2d921.tar.gz inspircd++-6fe96bda2531cb1357f35c6d0717910283e2d921.tar.bz2 inspircd++-6fe96bda2531cb1357f35c6d0717910283e2d921.zip | |
Call the MODE command handler in several modules instead of the old ModeParser::Process()
Diffstat (limited to 'src/modules/m_samode.cpp')
| -rw-r--r-- | src/modules/m_samode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
