more bugfixes!

This commit is contained in:
topkecleon 2016-06-07 03:04:27 -04:00
parent 4cf00227f6
commit b130bf8b5b
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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