Changeset

1457:4723bd466a54

mod_pep: Pass origin/session to publish_all()
author Matthew Wild <mwild1@gmail.com>
date Thu, 02 Jul 2009 04:11:51 +0100
parents 1456:3135cf40110d
children 1458:fce75b4efda9
files plugins/mod_pep.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Wed Jul 01 20:24:47 2009 -0400
+++ b/plugins/mod_pep.lua	Thu Jul 02 04:11:51 2009 +0100
@@ -102,7 +102,7 @@
 			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(