aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-18 15:11:10 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-18 15:11:10 +0100
commit1919f4288c24610a884ebe930c8f4ed9a01d07ec (patch)
tree5a65b871ecdd03b81741bb352aa803b7134d3cb9
parent478035981e4cb5d844960e0c1cefd2d5b11fac89 (diff)
downloadprosody-1919f4288c24610a884ebe930c8f4ed9a01d07ec.tar.gz
prosody-1919f4288c24610a884ebe930c8f4ed9a01d07ec.zip
mod_console: Rename server:reload() to server:insane_reload() (basically no-one should use it except me...)
-rw-r--r--plugins/mod_console.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index 3248ca8c..2246dbff 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -160,7 +160,7 @@ end
-- Anything in def_env will be accessible within the session as a global variable
def_env.server = {};
-function def_env.server:reload()
+function def_env.server:insane_reload()
prosody.unlock_globals();
dofile "prosody"
prosody = _G.prosody;