diff --git a/conf/example/config.json b/conf/example/config.json index ecd781d..6974770 100644 --- a/conf/example/config.json +++ b/conf/example/config.json @@ -25,12 +25,15 @@ "Tweaks": { "ZNC": { "Prefix": "*" + }, + "Delays": { + "WhoLoop": 60 } }, "Default": { "host": null, "port": null, - "protocol": null, + "protocol": "ssl", "bind": null, "timeout": 30, "maxdelay": 360, diff --git a/core/bot.py b/core/bot.py index e75f776..c2ebca5 100644 --- a/core/bot.py +++ b/core/bot.py @@ -247,7 +247,7 @@ class IRCBot(IRCClient): main.saveConf("masterbuf") lc = LoopingCall(self.getWho, channel) self._getWho[channel] = lc - lc.start(60) + lc.start(main.config["Tweaks"]["Delays"]["WhoLoop"]) def left(self, channel, message): if channel in self.channels: