X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_halfop.cpp;h=78c4234e21acd97b6ec5e3e82f4ffd58c6b57af0;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=7a43f024169f8cc95805bd33362c046ac62affd1;hpb=6dd61235fc8cb67ba9919b84be42c966b7273fac;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_halfop.cpp b/src/modules/m_halfop.cpp index 7a43f0241..78c4234e2 100644 --- a/src/modules/m_halfop.cpp +++ b/src/modules/m_halfop.cpp @@ -87,6 +87,10 @@ class ModuleHalfop : public Module ModeChannelHalfOp mh; public: ModuleHalfop() : mh(this) + { + } + + void init() { if (!ServerInstance->Modes->AddMode(&mh)) throw ModuleException("Could not add new modes!");