Software /
code /
prosody
Diff
core/discomanager.lua @ 420:aa1db0a80089
Minor bug fix
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 26 Nov 2008 08:26:24 +0500 |
parent | 419:af362df8e6fd |
child | 517:afd9f6590fd0 |
line wrap: on
line diff
--- a/core/discomanager.lua Wed Nov 26 07:44:38 2008 +0500 +++ b/core/discomanager.lua Wed Nov 26 08:26:24 2008 +0500 @@ -37,11 +37,11 @@ return helper:addDiscoInfoHandler(jid, func); end -function set(plugin, origin, var) +function set(plugin, var, origin) -- TODO handle origin and host based on plugin. local handler = function(reply, to, from, node) -- service discovery if #node == 0 then - reply:tag("feature", {var = var}); + reply:tag("feature", {var = var}):up(); return true; end end