# HG changeset patch # User jbe # Date 1425072372 -3600 # Node ID cd7fce06440d3c0d5935ff7804f0ebf864389c72 # Parent 9fcdec58aa31441770e699e25441b2bdcf3bd173 Initialize listeners list in framework/bin/mcp.lua diff -r 9fcdec58aa31 -r cd7fce06440d Makefile.options --- a/Makefile.options Fri Feb 27 22:18:52 2015 +0100 +++ b/Makefile.options Fri Feb 27 22:26:12 2015 +0100 @@ -8,8 +8,8 @@ SLIB_EXT = so # Lua binaries -LUA_BIN = lua -LUAC_BIN = luac +LUA_BIN = lua52 +LUAC_BIN = luac52 # C compiler flags # TODO: check alternatives to -D_GNU_SOURCE -fPIC diff -r 9fcdec58aa31 -r cd7fce06440d framework/bin/mcp.lua --- a/framework/bin/mcp.lua Fri Feb 27 22:18:52 2015 +0100 +++ b/framework/bin/mcp.lua Fri Feb 27 22:26:12 2015 +0100 @@ -166,7 +166,7 @@ -- replace Moonbridge listen function local moonbridge_listen = listen -local listeners +local listeners = {} function listen(args) listeners[#listeners+1] = args end