diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-03 15:09:58 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-03 15:09:58 +0000 |
commit | e9c064e355fee23eca94878748b4b182d1d625ac (patch) | |
tree | 7b6d2c0f1590858ca3eaed80de5758c64b9ee328 /core/discomanager.lua | |
parent | f1a9c23909b5472f68a9d81c858d267c48a9405e (diff) | |
parent | 1c20002637bbd2c9cfaa951acd74ed95a0217e99 (diff) | |
download | prosody-e9c064e355fee23eca94878748b4b182d1d625ac.tar.gz prosody-e9c064e355fee23eca94878748b4b182d1d625ac.zip |
Merge from waqas
Diffstat (limited to 'core/discomanager.lua')
-rw-r--r-- | core/discomanager.lua | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/core/discomanager.lua b/core/discomanager.lua index ce0010d8..16bf2227 100644 --- a/core/discomanager.lua +++ b/core/discomanager.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 helper = require "util.discohelper".new();
local hosts = hosts;
@@ -10,7 +30,7 @@ local print = print; do
helper:addDiscoInfoHandler("*host", function(reply, to, from, node)
if hosts[to] then
- reply:tag("identity", {category="server", type="im", name="lxmppd"}):up();
+ reply:tag("identity", {category="server", type="im", name="Prosody"}):up();
return true;
end
end);
|