From 85faabc6f4c7ef61a843063562cc76d040cd3ff1 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 15 Apr 2009 04:21:20 +0500 Subject: Stopped using presencemanager in stanza_router --- plugins/mod_presence.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/mod_presence.lua') diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index 0d35feed..7b521c50 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -243,7 +243,7 @@ local function presence_handler(data) if to == nil and stanza.attr.type ~= nil and stanza.attr.type ~= "unavailable" and stanza.attr.type ~= "error" then handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza); elseif not to then - handle_normal_presence(origin, stanza); + handle_normal_presence(origin, stanza, core_route_stanza); else core_route_stanza(origin, stanza); end @@ -263,5 +263,3 @@ add_handler(module:get_host().."/presence", presence_handler); module.unload = function() remove_handler(module:get_host().."/presence", presence_handler); end - -return _M; -- cgit v1.2.3