public:
ModuleRestrictBanned(InspIRCd* Me) : Module(Me)
{
+ Implementation eventlist[] = { I_OnLocalTopicChange, I_OnUserPreNick, I_OnUserPreNotice, I_OnUserPreMessage };
+ ServerInstance->Modules->Attach(eventlist, this, 4);
}
virtual ~ModuleRestrictBanned()
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- void Implements(char* List)
- {
- List[I_OnLocalTopicChange] = List[I_OnUserPreNick] = List[I_OnUserPreNotice] = List[I_OnUserPreMessage] = 1;
- }
int CheckRestricted(User *user, Channel *channel, const std::string &action)
{