summaryrefslogtreecommitdiff
path: root/src/modules/m_devoice.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-03 21:22:10 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-03 21:22:10 +0000
commit31e2d052252c4113ae9ea63844f60df7759a03be (patch)
tree65a54f979ef8e40e16cf3e42d6d19f9f0896ce3e /src/modules/m_devoice.cpp
parenta41cd7a0c2e7b26238b9097966535366eab54698 (diff)
Add VF_COMMON to a lot modules which require it. Reported by danielg in bug #369 and bug #370. Thanks, and sorry for the delay. Also fix one or two erroneous CMD_FAILURE that are more understandable as CMD_LOCALONLY. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7641 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_devoice.cpp')
-rw-r--r--src/modules/m_devoice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp
index e2ada413b..06413f0ec 100644
--- a/src/modules/m_devoice.cpp
+++ b/src/modules/m_devoice.cpp
@@ -49,7 +49,7 @@ class cmd_devoice : public command_t
ServerInstance->SendMode(modes,3,n);
delete n;
- /* route it */
+ /* route it -- SendMode doesn't distribute over the whole network */
return CMD_SUCCESS;
}
@@ -74,7 +74,7 @@ class ModuleDeVoice : public Module
virtual Version GetVersion()
{
- return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
+ return Version(1, 1, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
}
};