From 31e2d052252c4113ae9ea63844f60df7759a03be Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 3 Aug 2007 21:22:10 +0000 Subject: 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 --- src/modules/m_devoice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_devoice.cpp') 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); } }; -- cgit v1.2.3