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_devoice.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_devoice.cpp')
| -rw-r--r-- | src/modules/m_devoice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } }; |
