Changeset

1556:8154aa1fbe6c

mod_console: Rename server:reload() to server:insane_reload() (basically no-one should use it except me...)
author Matthew Wild <mwild1@gmail.com>
date Sat, 18 Jul 2009 15:11:10 +0100
parents 1555:96d620b639d5
children 1557:64837ed2d112
files plugins/mod_console.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_console.lua	Tue Jul 14 22:12:13 2009 +0100
+++ b/plugins/mod_console.lua	Sat Jul 18 15:11:10 2009 +0100
@@ -160,7 +160,7 @@
 -- 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;