diff options
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); } }; |