Diff

plugins/mod_bosh.lua @ 2212:7cb6460b18d8

Merge with trunk.
author Tobias Markmann <tm@ayena.de>
date Thu, 19 Nov 2009 17:53:52 +0100
parent 2084:ded03b7b040e
child 2099:73e083d01449
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Thu Nov 19 17:20:38 2009 +0100
+++ b/plugins/mod_bosh.lua	Thu Nov 19 17:53:52 2009 +0100
@@ -254,6 +254,7 @@
 		if stanza.attr.xmlns == xmlns_bosh then
 			stanza.attr.xmlns = "jabber:client";
 		end
+		session.ip = request.handler.ip();
 		core_process_stanza(session, stanza);
 	end
 end