# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1246504311 -3600
# Node ID 4723bd466a54c9b12d7336d02ad65075bc27cdc0
# Parent  3135cf40110d5decdc07eb29e49e4ca20c8ddac4
mod_pep: Pass origin/session to publish_all()

diff -r 3135cf40110d -r 4723bd466a54 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(