From b5965b08c23e3e89404b481386f2e56ce7cb7ce2 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 19 Jan 2010 15:16:24 +0000 Subject: Extbans can be VF_OPTCOMMON as they do not desync on module add/remove git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12303 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_globops.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/modules/m_globops.cpp') diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 2934fb0de..f02f8a1b2 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -36,15 +36,10 @@ class CommandGlobops : public Command line = line + parameters[i] + " "; } ServerInstance->SNO->WriteToSnoMask('g',line); + ServerInstance->PI->SendSNONotice("g", line); - /* route it (ofc :p) */ return CMD_SUCCESS; } - - RouteDescriptor GetRouting(User* user, const std::vector& parameters) - { - return ROUTE_BROADCAST; - } }; class ModuleGlobops : public Module @@ -66,7 +61,7 @@ class ModuleGlobops : public Module virtual Version GetVersion() { - return Version("Provides support for GLOBOPS and user mode +g", VF_COMMON | VF_VENDOR); + return Version("Provides support for GLOBOPS and user mode +g", VF_OPTCOMMON | VF_VENDOR); } }; -- cgit v1.2.3