diff options
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r-- | src/modules/m_globops.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 2b2af1539..a02ad1172 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -28,6 +28,7 @@ using namespace std; /* $ModDesc: Provides support for GLOBOPS and user mode +g */ static Server *Srv; +extern InspIRCd* ServerInstance; class cmd_globops : public command_t { @@ -45,7 +46,7 @@ class cmd_globops : public command_t { line = line + std::string(parameters[i]) + " "; } - Srv->SendToModeMask("og",WM_AND,line); + ServerInstance->WriteMode("og",WM_AND,line.c_str()); } }; |