]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_devoice.cpp
cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked...
[user/henk/code/inspircd.git] / src / modules / m_devoice.cpp
index e028704775cd293571350d59c643915cb6e7bbcb..940f13c2d158825f84b7cc6db562e59237d16099 100644 (file)
@@ -43,9 +43,8 @@ class CommandDevoice : public Command
                        modes.push_back(user->nick);
 
                        ServerInstance->SendMode(modes, ServerInstance->FakeClient);
-
-                       /* route it -- SendMode doesn't distribute over the whole network */
-                       return CMD_SUCCESS;
+                       ServerInstance->PI->SendMode(c->name, ServerInstance->Modes->GetLastParseParams(), ServerInstance->Modes->GetLastParseTranslate());
+                       return CMD_LOCALONLY;
                }
 
                return CMD_FAILURE;
@@ -70,7 +69,7 @@ class ModuleDeVoice : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 };