diff options
Diffstat (limited to 'src/modules/m_operchans.cpp')
-rw-r--r-- | src/modules/m_operchans.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp index cf05419c1..b6fe43549 100644 --- a/src/modules/m_operchans.cpp +++ b/src/modules/m_operchans.cpp @@ -58,7 +58,7 @@ class OperChans : public ModeHandler class ModuleOperChans : public Module { - Server* Srv; + OperChans* oc; public: ModuleOperChans(InspIRCd* Me) @@ -66,7 +66,7 @@ class ModuleOperChans : public Module { oc = new OperChans(ServerInstance); - Srv->AddMode(oc, 'O'); + ServerInstance->AddMode(oc, 'O'); } void Implements(char* List) |