plugins/mod_s2s/mod_s2s.lua
changeset 6603 b1c84d220c40
parent 6474 95d93c4f9d40
child 6605 61b6a4fc65f1
child 6610 64e6b88b6b21
child 6686 873ad1023eb0
--- a/plugins/mod_s2s/mod_s2s.lua	Tue Mar 24 15:57:46 2015 +0000
+++ b/plugins/mod_s2s/mod_s2s.lua	Tue Mar 24 16:03:37 2015 +0000
@@ -512,7 +512,7 @@
 		version = session.version and (session.version > 0 and "1.0" or nil),
 		["xml:lang"] = 'en',
 		id = session.streamid,
-		from = from, to = to,
+		from = from or "", to = to or "",
 	}
 	if not from or (hosts[from] and hosts[from].modules.dialback) then
 		attr["xmlns:db"] = 'jabber:server:dialback';