Changeset

1324:dc64a841f0c2

mod_pep: Fix undefined global access
author Waqas Hussain <waqas20@gmail.com>
date Sun, 07 Jun 2009 17:39:34 +0500
parents 1323:e1bfe7816761
children 1325:b58645973d7d
files plugins/mod_pep.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Sat Jun 06 18:22:29 2009 +0500
+++ b/plugins/mod_pep.lua	Sun Jun 07 17:39:34 2009 +0500
@@ -51,6 +51,6 @@
 			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);