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