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