#include "inspircd.h"
-/* $ModDesc: Provides channel mode +F (nick flood protection) */
-
/** Holds settings and state associated with channel mode +F
*/
class nickfloodsettings
{
ServerInstance->Modules->AddService(nf);
ServerInstance->Modules->AddService(nf.ext);
- Implementation eventlist[] = { I_OnUserPreNick, I_OnUserPostNick };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
}
ModResult OnUserPreNick(User* user, const std::string &newnick) CXX11_OVERRIDE