- void OnRehash(User* user)
- {
- ConfigReader Conf;
- nickrequired = Conf.ReadValue("passforward", "nick", "NickServ", 0);
- forwardmsg = Conf.ReadValue("passforward", "forwardmsg", "NOTICE $nick :*** Forwarding PASS to $nickrequired", 0);
- forwardcmd = Conf.ReadValue("passforward", "cmd", "PRIVMSG $nickrequired :IDENTIFY $pass", 0);
- }
-
- void FormatStr(std::string& result, const std::string& format, const std::string &nick, const std::string &pass)