Automated merge with http://waqas.ath.cx:8000/
[prosody.git] / plugins / mod_console.lua
index b1dc263cdc69f1df4530f8ddab636a4b1492c3b1..d6383a780f19eca232e2e8310034d3df68fc942d 100644 (file)
@@ -1,3 +1,23 @@
+-- Prosody IM v0.2
+-- Copyright (C) 2008 Matthew Wild
+-- Copyright (C) 2008 Waqas Hussain
+-- 
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+-- 
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+-- 
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+--
+
+
 \r
 local connlisteners_register = require "net.connlisteners".register;\r
 \r
@@ -124,7 +144,7 @@ end
 \r
 def_env.server = {};\r
 function def_env.server:reload()\r
-       dofile "main.lua"\r
+       dofile "prosody"\r
        return true, "Server reloaded";\r
 end\r
 \r