diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-06-14 05:12:44 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-06-14 05:12:44 +0000 |
commit | e5cb25bd13326b9e0d1c275638f3f8f4ffba213a (patch) | |
tree | 06f57d3d4d0e271ca14eed64fd1df71396ae9a92 /src | |
parent | abe0f102d7899780200b3d86557316ef71b57dab (diff) |
These commands do not need to be VF_COMMON
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_devoice.cpp | 7 | ||||
-rw-r--r-- | src/modules/m_samode.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_sethost.cpp | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp index e02870477..940f13c2d 100644 --- a/src/modules/m_devoice.cpp +++ b/src/modules/m_devoice.cpp @@ -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); } }; diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index b9b02752f..9624ee053 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -71,7 +71,7 @@ class ModuleSaMode : public Module virtual Version GetVersion() { - return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION); + return Version("$Id$", VF_VENDOR, API_VERSION); } }; diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 6fc6989f8..f6e38c213 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -97,7 +97,7 @@ class ModuleSetHost : public Module virtual Version GetVersion() { - return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION); + return Version("$Id$", VF_VENDOR, API_VERSION); } }; |