From 5ba770cd5a2b0af7d6abc522d679811d6914162b Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 7 Jun 2009 17:39:34 +0500 Subject: mod_pep: Fix undefined global access --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index b4ff82fb..6895b561 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -51,6 +51,6 @@ module:add_iq_handler("c2s", "http://jabber.org/protocol/pubsub", function (sess end -- TODO else error end end - origin.send(st.error_reply(stanza, "cancel", "service-unavailable")); + session.send(st.error_reply(stanza, "cancel", "service-unavailable")); end); -- cgit v1.2.3