operChan = conf->ReadValue("operjoin", "channel", 0);
}
+ void Implements(char* List)
+ {
+ List[I_OnPostOper] = List[I_OnRehash] = 1;
+ }
+
+ virtual void OnRehash(std::string parameter)
+ {
+ delete conf;
+ conf = new ConfigReader;
+ }
+
virtual ~ModuleOperjoin()
{
delete conf;
return Version(1,0,0,1,VF_VENDOR);
}
- virtual void OnOper(userrec* user, std::string opertype)
+ virtual void OnPostOper(userrec* user, std::string opertype)
{
if(operChan != "")
{