mod_pep: Pass origin/session to publish_all()
authorMatthew Wild <mwild1@gmail.com>
Thu, 02 Jul 2009 04:11:51 +0100
changeset 1457 4723bd466a54
parent 1456 3135cf40110d
child 1458 fce75b4efda9
mod_pep: Pass origin/session to publish_all()
plugins/mod_pep.lua
--- 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(