- ModuleModesOnConnect() {
- Implementation eventlist[] = { I_OnUserConnect, I_OnRehash };
- ServerInstance->Modules->Attach(eventlist, this, 2);
- // for things like +x on connect, important, otherwise we have to resort to config order (bleh) -- w00t
- ServerInstance->Modules->SetPriority(this, PRIORITY_FIRST);
+ void init() CXX11_OVERRIDE
+ {
+ ServerInstance->Modules->Attach(I_OnUserConnect, this);