Diff

plugins/mod_console.lua @ 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
parent 1523:841d61be198f
child 1558:e15917530285
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;