mod_console: Rename server:reload() to server:insane_reload() (basically no-one should use it except me...)

Sat, 18 Jul 2009 15:11:10 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 18 Jul 2009 15:11:10 +0100
changeset 1556
8154aa1fbe6c
parent 1555
96d620b639d5
child 1557
64837ed2d112

mod_console: Rename server:reload() to server:insane_reload() (basically no-one should use it except me...)

plugins/mod_console.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial