X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_xline_db.cpp;h=f25f1d597cc48c060a9441417de9e468c0d5e28d;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=6caae07d7d1e67ff3071325cbc7cec8852d6e5c4;hpb=6dd61235fc8cb67ba9919b84be42c966b7273fac;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp index 6caae07d7..f25f1d597 100644 --- a/src/modules/m_xline_db.cpp +++ b/src/modules/m_xline_db.cpp @@ -32,7 +32,8 @@ class ModuleXLineDB : public Module // DO REMEMBER TO SET IT, otherwise it's annoying :P std::string xlinedbpath; public: - ModuleXLineDB() { + void init() + { Implementation eventlist[] = { I_OnAddLine, I_OnDelLine, I_OnExpireLine }; ServerInstance->Modules->Attach(eventlist, this, 3);