- return Version(1,0,0,0,VF_VENDOR);
+ return Version(1,1,0,0,VF_VENDOR,API_VERSION);
+ }
+
+ void OnRehash(userrec* user, const std::string ¶meter)
+ {
+ ConfigReader* MyConf = new ConfigReader(ServerInstance);
+ allowlist.clear();
+ for (int i = 0; i < MyConf->Enumerate("securelist"); i++)
+ allowlist.push_back(MyConf->ReadValue("securelist", "exception", i));
+ WaitTime = MyConf->ReadInteger("securelist", "waittime", "60", 0, true);
+ DELETE(MyConf);