Changeset

2373:13090fc6ad90

mod_bosh: Update for new connection API
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Dec 2009 20:28:32 +0000
parents 2372:bb88b76c21d0
children 2374:9b6a9d521620
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Thu Dec 17 20:22:52 2009 +0000
+++ b/plugins/mod_bosh.lua	Thu Dec 17 20:28:32 2009 +0000
@@ -254,7 +254,7 @@
 		if stanza.attr.xmlns == xmlns_bosh then
 			stanza.attr.xmlns = "jabber:client";
 		end
-		session.ip = request.handler.ip();
+		session.ip = request.handler:ip();
 		core_process_stanza(session, stanza);
 	end
 end