From a87015a31f014e7cf3f15da6ab3cbe381508ae28 Mon Sep 17 00:00:00 2001 From: Flummi Date: Mon, 7 Nov 2016 02:18:31 +0100 Subject: [PATCH] bugfix --- src/lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.js b/src/lib.js index 932e168..8bf4d35 100644 --- a/src/lib.js +++ b/src/lib.js @@ -268,7 +268,7 @@ self.getcfg = (kat, cb) => { self.loadIRC = () => { self.getcfg('irc', cfg => { self.cfg.irc = cfg; - self.cfg.irc.forEach(e => { + self.cfg.irc.irccfg.forEach(e => { self.bot.add({ "name": e.name, "host": e.host,