X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_randquote.cpp;h=1bb28583e7b27690fe8dd48515a5322213314736;hb=d24619c012b34d5a3d4cfb93e7bea3ff3d5721e7;hp=c9ffd42a9d5b1d9d97a9999230cbbbf4180791bc;hpb=8710724b5518ae9858309e548514f76e620a8459;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index c9ffd42a9..1bb28583e 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -38,9 +38,6 @@ class ModuleRandQuote : public Module suffix = conf->getString("suffix"); FileReader reader(conf->getString("file", "quotes")); quotes = reader.GetVector(); - - Implementation eventlist[] = { I_OnUserConnect }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } void OnUserConnect(LocalUser* user) CXX11_OVERRIDE