X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_console.lua;h=4ac3c5feb025847e6a5cd5d691138c89381dc668;hb=dd01eab72e892dc74540c5d2fe197dd646fb8b74;hp=b1dc263cdc69f1df4530f8ddab636a4b1492c3b1;hpb=3f7df23424d0e020c55ba5142bb1dd319fdd7b5e;p=prosody.git diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua index b1dc263c..4ac3c5fe 100644 --- a/plugins/mod_console.lua +++ b/plugins/mod_console.lua @@ -1,3 +1,23 @@ +-- Prosody IM v0.1 +-- 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. +-- + + local connlisteners_register = require "net.connlisteners".register; @@ -124,7 +144,7 @@ end def_env.server = {}; function def_env.server:reload() - dofile "main.lua" + dofile "prosody" return true, "Server reloaded"; end