aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-07 17:39:34 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-07 17:39:34 +0500
commit5ba770cd5a2b0af7d6abc522d679811d6914162b (patch)
tree6701055b78fec198b237331f83cee8df67e912b3
parent6a2de54e78b5df4afb830941adb3fac75ae4e4c7 (diff)
downloadprosody-5ba770cd5a2b0af7d6abc522d679811d6914162b.tar.gz
prosody-5ba770cd5a2b0af7d6abc522d679811d6914162b.zip
mod_pep: Fix undefined global access
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
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);