final bugfix (hopefully!)

This commit is contained in:
topkecleon 2016-06-07 03:13:54 -04:00
parent b130bf8b5b
commit 31a8e220ac

View File

@ -25,8 +25,8 @@ function control:action(msg, config)
package.loaded[pac] = nil package.loaded[pac] = nil
end end
end end
package.loaded['bindings'] = nil package.loaded['otouto.bindings'] = nil
package.loaded['utilities'] = nil package.loaded['otouto.utilities'] = nil
package.loaded['config'] = nil package.loaded['config'] = nil
if msg.text_lower:match('%+config') then for k, v in pairs(require('config')) do if msg.text_lower:match('%+config') then for k, v in pairs(require('config')) do
config[k] = v config[k] = v