X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_devoice.cpp;h=4e4b3a354b4efdb0bd7bf8c97584b36e61498251;hb=f471083cd0519d47c7c7a09029813ede41994f7b;hp=901f77b1a83b1d22a7003828381dd2f14bab83ad;hpb=e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804;p=user%2Fhenk%2Fcode%2Finspircd.git 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; } };