fixes SIGNAL received error
This commit is contained in:
parent
3c28c7e1ca
commit
aa7ac75d31
@ -4,7 +4,7 @@ URL = require("socket.url")
|
|||||||
json = (loadfile "./bot/JSON.lua")()
|
json = (loadfile "./bot/JSON.lua")()
|
||||||
require("./bot/utils")
|
require("./bot/utils")
|
||||||
|
|
||||||
VERSION = 'v0.7.6'
|
VERSION = 'v0.7.7'
|
||||||
|
|
||||||
function on_msg_receive (msg)
|
function on_msg_receive (msg)
|
||||||
vardump(msg)
|
vardump(msg)
|
||||||
@ -186,16 +186,17 @@ function on_binlog_replay_end ()
|
|||||||
started = 1
|
started = 1
|
||||||
load_plugins()
|
load_plugins()
|
||||||
-- Uncomment the line to enable cron 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
|
-- See plugins/ping.lua as an example for cron
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Start and load values
|
-- Start and load values
|
||||||
config = load_config()
|
|
||||||
_users = load_user_stats()
|
|
||||||
our_id = 0
|
our_id = 0
|
||||||
now = os.time()
|
now = os.time()
|
||||||
|
|
||||||
|
config = load_config()
|
||||||
|
_users = load_user_stats()
|
||||||
|
|
||||||
-- load plugins
|
-- load plugins
|
||||||
plugins = {}
|
plugins = {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user