X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_blockcolor.cpp;h=90e3f912a9e9ce2f0066a27a0e3cab3405139852;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=19b5c9231456a7ad9127c54495c286dcc3908fba;hpb=6dd61235fc8cb67ba9919b84be42c966b7273fac;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp index 19b5c9231..90e3f912a 100644 --- a/src/modules/m_blockcolor.cpp +++ b/src/modules/m_blockcolor.cpp @@ -40,6 +40,10 @@ class ModuleBlockColor : public Module public: ModuleBlockColor() : bc(this) + { + } + + void init() { if (!ServerInstance->Modes->AddMode(&bc)) throw ModuleException("Could not add new modes!");