Diff

plugins/mod_bosh.lua @ 2373:13090fc6ad90

mod_bosh: Update for new connection API
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Dec 2009 20:28:32 +0000
parent 2354:5a00668ba0ab
child 2467:8098310d0dfd
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