void OnRehash(User* user)
{
- ConfigReader MyConf;
- url = MyConf.ReadValue("security", "maphide", 0);
+ url = ServerInstance->Config->ConfValue("security")->getString("maphide");
}
ModResult OnPreCommand(std::string &command, std::vector<std::string> ¶meters, LocalUser *user, bool validated, const std::string &original_line)