plugins/mod_presence.lua

changeset 3109
34280b1544fc
parent 3084
9b17449fb5f4
child 3112
c311fdffccce
--- a/plugins/mod_presence.lua	Sun May 23 23:55:01 2010 +0500
+++ b/plugins/mod_presence.lua	Mon May 24 00:04:22 2010 +0500
@@ -227,10 +227,6 @@
 	stanza.attr.from, stanza.attr.to = from_bare, to_bare;
 	log("debug", "inbound presence "..stanza.attr.type.." from "..from_bare.." for "..to_bare);
 	
-	if not node then
-		log("debug", "dropping presence sent to host or invalid address '%s'", tostring(to_bare));
-	end
-	
 	if stanza.attr.type == "probe" then
 		if rostermanager.is_contact_subscribed(node, host, from_bare) then
 			if 0 == send_presence_of_available_resources(node, host, st_from, origin, core_route_stanza) then

mercurial