diff options
| author | 2006-08-10 22:40:57 +0000 | |
|---|---|---|
| committer | 2006-08-10 22:40:57 +0000 | |
| commit | f9636a2eff46f6829bf9e01c711ab1ba45a7d50a (patch) | |
| tree | 4fd9dc8529e9e0adbd5acb47b5fa0f960aef195c /src/modules/m_globops.cpp | |
| parent | Move all_opers into class InspIRCd (diff) | |
So much stuff changed in this one, i forgot most of it.
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_globops.cpp')
| -rw-r--r-- | src/modules/m_globops.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index a02ad1172..289522d7f 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -53,7 +53,7 @@ class cmd_globops : public command_t class ModeGlobops : public ModeHandler { public: - ModeGlobops() : ModeHandler('g', 0, 0, false, MODETYPE_USER, true) { } + ModeGlobops(InspIRCd* Instance) : ModeHandler(Instance, 'g', 0, 0, false, MODETYPE_USER, true) { } ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { @@ -88,7 +88,7 @@ class ModuleGlobops : public Module : Module::Module(Me) { Srv = Me; - mg = new ModeGlobops(); + mg = new ModeGlobops(ServerInstance); Srv->AddMode(mg, 'g'); mycommand = new cmd_globops(); Srv->AddCommand(mycommand); |
