diff options
| author | 2006-08-09 17:52:10 +0000 | |
|---|---|---|
| committer | 2006-08-09 17:52:10 +0000 | |
| commit | 2591562ada4cb1f866e5d1c98340fb19332b3844 (patch) | |
| tree | 1cf18676c1851c39322d20fa208c0221e23ba6ac /src/modules/m_globops.cpp | |
| parent | Move clientlist and chanlist into InspIRCd* (diff) | |
| download | inspircd++-2591562ada4cb1f866e5d1c98340fb19332b3844.tar.gz inspircd++-2591562ada4cb1f866e5d1c98340fb19332b3844.tar.bz2 inspircd++-2591562ada4cb1f866e5d1c98340fb19332b3844.zip | |
Move tons more stuff into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7
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()); } }; |
