diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-19 15:16:24 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-19 15:16:24 +0000 |
commit | b5965b08c23e3e89404b481386f2e56ce7cb7ce2 (patch) | |
tree | 842721a7e76de1cb7807a55d287498783e2dbc88 /src/modules/m_globops.cpp | |
parent | 80abf1ed3ef868b1cad85785b2386f5cbd818ba4 (diff) |
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
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r-- | src/modules/m_globops.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
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<std::string>& 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); } }; |