From b130bf8b5ba78fc4fd0619f1f74f35aaaf9bb2e4 Mon Sep 17 00:00:00 2001 From: topkecleon Date: Tue, 7 Jun 2016 03:04:27 -0400 Subject: [PATCH] more bugfixes! --- otouto/plugins/cats.lua | 2 +- otouto/plugins/chatter.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/otouto/plugins/cats.lua b/otouto/plugins/cats.lua index 7daa660..99f6049 100755 --- a/otouto/plugins/cats.lua +++ b/otouto/plugins/cats.lua @@ -24,7 +24,7 @@ function cats:action(msg, config) local str, res = HTTP.request(url) if res ~= 200 then - utilities.send_reply(self, msg, onfig.errors.connection) + utilities.send_reply(self, msg, config.errors.connection) return end diff --git a/otouto/plugins/chatter.lua b/otouto/plugins/chatter.lua index 0a080c2..1e60875 100755 --- a/otouto/plugins/chatter.lua +++ b/otouto/plugins/chatter.lua @@ -6,6 +6,7 @@ local HTTP = require('socket.http') local URL = require('socket.url') local JSON = require('dkjson') local bindings = require('otouto.bindings') +local utilities = require('otouto.utilities') function chatter:init(config) if not config.simsimi_key then