diff options
Diffstat (limited to 'src/modules/m_operchans.cpp')
-rw-r--r-- | src/modules/m_operchans.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp index 4600760f2..020e097ff 100644 --- a/src/modules/m_operchans.cpp +++ b/src/modules/m_operchans.cpp @@ -46,13 +46,13 @@ class OperChans : public ModeHandler class ModuleOperChans : public Module { - + OperChans* oc; public: ModuleOperChans(InspIRCd* Me) : Module(Me) { - + oc = new OperChans(ServerInstance); if (!ServerInstance->Modes->AddMode(oc)) throw ModuleException("Could not add new modes!"); @@ -76,13 +76,13 @@ class ModuleOperChans : public Module } return 0; } - + virtual ~ModuleOperChans() { ServerInstance->Modes->DelMode(oc); delete oc; } - + virtual Version GetVersion() { return Version(1,2,0,0,VF_VENDOR|VF_COMMON,API_VERSION); |