summaryrefslogtreecommitdiff
path: root/src/modules/m_globops.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-19 15:16:24 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-19 15:16:24 +0000
commitb5965b08c23e3e89404b481386f2e56ce7cb7ce2 (patch)
tree842721a7e76de1cb7807a55d287498783e2dbc88 /src/modules/m_globops.cpp
parent80abf1ed3ef868b1cad85785b2386f5cbd818ba4 (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.cpp9
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);
}
};