diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-01-04 21:18:35 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-01-04 21:18:35 +0000 |
commit | 99ec1ccf1ecd17d55d1298906e94b50a2ac56034 (patch) | |
tree | f4051527a3e3db61aa0f2397229dcdad63886b8e /prosody | |
parent | 18e42c9e081d3405b90abea5176b803da9d6077b (diff) | |
download | prosody-99ec1ccf1ecd17d55d1298906e94b50a2ac56034.tar.gz prosody-99ec1ccf1ecd17d55d1298906e94b50a2ac56034.zip |
prosody, prosodyctl: Create prosody object as a local before exporting as a global
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,8 +32,8 @@ if CFG_DATADIR then end -- Global 'prosody' object -prosody = { events = require "util.events".new(); }; -local prosody = prosody; +local prosody = { events = require "util.events".new(); }; +_G.prosody = prosody; -- Check dependencies local dependencies = require "util.dependencies"; |