mirror of
https://github.com/anope/anope.git
synced 2026-07-02 09:26:38 +02:00
Rewrote the config reader to better handle invalid configs.
This prevents Anope from exploding when /os reload has errors.
This commit is contained in:
@@ -42,7 +42,7 @@ class SSMain : public Module
|
||||
if (!statserv)
|
||||
{
|
||||
Alog() << "Creating SS";
|
||||
statserv = new BotInfo("StatServ", Config.ServiceUser, Config.ServiceHost, "Stats Service");
|
||||
statserv = new BotInfo("StatServ", Config->ServiceUser, Config->ServiceHost, "Stats Service");
|
||||
}
|
||||
Alog() << "Done creating SS";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user