diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-06-05 20:18:19 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-06-05 20:18:19 +0100 |
commit | b4318db1757e1080ca117918dee022c4ce209c71 (patch) | |
tree | 9ac90ada9b16eed3e990743921146ae425a2952a /plugins | |
parent | f784a966a4501b6f04d74f00e439a12adc1bac6f (diff) | |
download | prosody-b4318db1757e1080ca117918dee022c4ce209c71.tar.gz prosody-b4318db1757e1080ca117918dee022c4ce209c71.zip |
mod_console: Some "improvements" to the useless server:reload() command :)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_console.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua index b960deb9..bae106fd 100644 --- a/plugins/mod_console.lua +++ b/plugins/mod_console.lua @@ -140,7 +140,9 @@ end def_env.server = {}; function def_env.server:reload() + prosody.unlock_globals(); dofile "prosody" + prosody = _G.prosody; return true, "Server reloaded"; end |