Fri, 05 Jun 2009 20:18:19 +0100
mod_console: Some "improvements" to the useless server:reload() command :)
plugins/mod_console.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_console.lua Fri Jun 05 19:57:29 2009 +0100 +++ b/plugins/mod_console.lua Fri Jun 05 20:18:19 2009 +0100 @@ -140,7 +140,9 @@ def_env.server = {}; function def_env.server:reload() + prosody.unlock_globals(); dofile "prosody" + prosody = _G.prosody; return true, "Server reloaded"; end