Comparison

core/discomanager.lua @ 517:afd9f6590fd0

lxmppd -> Prosody
author Matthew Wild <mwild1@gmail.com>
date Wed, 03 Dec 2008 13:02:23 +0000
parent 420:aa1db0a80089
child 519:cccd610a0ef9
comparison
equal deleted inserted replaced
516:76d17a0d8a0a 517:afd9f6590fd0
8 local print = print; 8 local print = print;
9 9
10 do 10 do
11 helper:addDiscoInfoHandler("*host", function(reply, to, from, node) 11 helper:addDiscoInfoHandler("*host", function(reply, to, from, node)
12 if hosts[to] then 12 if hosts[to] then
13 reply:tag("identity", {category="server", type="im", name="lxmppd"}):up(); 13 reply:tag("identity", {category="server", type="im", name="Prosody"}):up();
14 return true; 14 return true;
15 end 15 end
16 end); 16 end);
17 helper:addDiscoInfoHandler("*node", function(reply, to, from, node) 17 helper:addDiscoInfoHandler("*node", function(reply, to, from, node)
18 local node, host = jid_split(to); 18 local node, host = jid_split(to);