From 111b86655743e9d350ba4fac1088557f44d795bb Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 26 Nov 2008 08:26:24 +0500 Subject: Minor bug fix --- core/discomanager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/discomanager.lua b/core/discomanager.lua index 5686f47f..ce0010d8 100644 --- a/core/discomanager.lua +++ b/core/discomanager.lua @@ -37,11 +37,11 @@ function addDiscoInfoHandler(jid, func) 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 -- cgit v1.2.3