git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2658
e03df62e-2008-0410-955e-
edbf42e46eb7
delete MyConf;
delete Conf;
}
-
+
+ void Implements(char* List)
+ {
+ List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnRehash] = 1;
+ }
+
// format of a config entry is <keyword pattern="^regexp$" reason="Some reason here" action="kill/block">
virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text)
return Version(1,0,0,1,VF_VENDOR);
}
+ void Implements(char* List)
+ {
+ List[I_OnUserPreJoin] = 1;
+ }
+
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
{
for (int j =0; j < Conf->Enumerate("badchan"); j++)
delete MyConf;
delete Conf;
}
+
+ void Implements(char* List)
+ {
+ List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnRehash] = 1;
+ }
// format of a config entry is <keyword pattern="*glob*" reason="Some reason here" action="kill/block">