plugins/mod_s2s/mod_s2s.lua
changeset 7680 8613086779fa
parent 7103 301d58705667
child 7682 589e27b47d56
child 8236 4e7269c53659
equal deleted inserted replaced
7679:7311dc843718 7680:8613086779fa
   363 			session.sends2s(features);
   363 			session.sends2s(features);
   364 		end
   364 		end
   365 	elseif session.direction == "outgoing" then
   365 	elseif session.direction == "outgoing" then
   366 		session.notopen = nil;
   366 		session.notopen = nil;
   367 		if not attr.id then
   367 		if not attr.id then
   368 			log("error", "Stream response did not give us a stream id!");
   368 			log("warn", "Stream response did not give us a stream id!");
   369 			session:close({ condition = "undefined-condition", text = "Missing stream ID" });
   369 			session:close({ condition = "undefined-condition", text = "Missing stream ID" });
   370 			return;
   370 			return;
   371 		end
   371 		end
   372 		session.streamid = attr.id;
   372 		session.streamid = attr.id;
   373 
   373