- Implementation eventlist[] = { I_OnRehash, I_On005Numeric, I_OnUserPreMessage, I_OnUserPreInvite };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
- }
-
- void OnRehash(User* user) CXX11_OVERRIDE
- {
- maxsilence = ServerInstance->Config->ConfValue("showwhois")->getInt("maxentries", 32);
- if (!maxsilence)
- maxsilence = 32;
+ maxsilence = tag->getUInt("maxentries", 32, 1);
+ ExemptULine = tag->getBool("exemptuline", true);