fixes SIGNAL received error

This commit is contained in:
yago 2014-12-22 21:42:58 +01:00
parent 3c28c7e1ca
commit aa7ac75d31

View File

@ -4,7 +4,7 @@ URL = require("socket.url")
json = (loadfile "./bot/JSON.lua")()
require("./bot/utils")
VERSION = 'v0.7.6'
VERSION = 'v0.7.7'
function on_msg_receive (msg)
vardump(msg)
@ -186,16 +186,17 @@ function on_binlog_replay_end ()
started = 1
load_plugins()
-- Uncomment the line to enable cron plugins.
-- cron_plugins()
-- postpone (cron_plugins, false, 1.0)
-- See plugins/ping.lua as an example for cron
end
-- Start and load values
config = load_config()
_users = load_user_stats()
our_id = 0
now = os.time()
config = load_config()
_users = load_user_stats()
-- load plugins
plugins = {}