X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_delayjoin.cpp;h=98d50455a4fe0d9bae4299ac1a6c7289c6f8f0ba;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=34d782c7718eeb7ed243b812e3ad6223a79a7c84;hpb=6dd61235fc8cb67ba9919b84be42c966b7273fac;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index 34d782c77..98d50455a 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -44,6 +44,10 @@ class ModuleDelayJoin : public Module public: LocalIntExt unjoined; ModuleDelayJoin() : djm(this), unjoined("delayjoin", this) + { + } + + void init() { if (!ServerInstance->Modes->AddMode(&djm)) throw ModuleException("Could not add new modes!");