Diff

plugins/mod_console.lua @ 461:8e66201f566a

Load prosody instead of main.lia in mod_console
author Waqas Hussain <waqas20@gmail.com>
date Sat, 29 Nov 2008 06:08:37 +0500
parent 444:77485b9b840c
child 519:cccd610a0ef9
line wrap: on
line diff
--- a/plugins/mod_console.lua	Sat Nov 29 01:02:32 2008 +0000
+++ b/plugins/mod_console.lua	Sat Nov 29 06:08:37 2008 +0500
@@ -124,7 +124,7 @@
 
 def_env.server = {};
 function def_env.server:reload()
-	dofile "main.lua"
+	dofile "prosody"
 	return true, "Server reloaded";
 end