From 0e486fe72b4bc813cc9e7166a041d4294f75a63e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 2 Jul 2009 04:11:51 +0100 Subject: mod_pep: Pass origin/session to publish_all() --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index c6811928..429c8b95 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -102,7 +102,7 @@ module:hook("presence/bare", function(event) recipients[user] = recipients[user] or {}; if hash_map[hash] then recipients[user][recipient] = hash_map[hash]; - publish_all(user, recipient); + publish_all(user, recipient, origin); else recipients[user][recipient] = hash; origin.send( -- cgit v1.2.3