mod_bosh: Update for new connection API

Thu, 17 Dec 2009 20:28:32 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 17 Dec 2009 20:28:32 +0000
changeset 2373
13090fc6ad90
parent 2372
bb88b76c21d0
child 2374
9b6a9d521620

mod_bosh: Update for new connection API

plugins/mod_bosh.lua file | annotate | diff | comparison | revisions
--- 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

mercurial