Mercurial > prosody-hg
comparison plugins/mod_s2s/mod_s2s.lua @ 7677:8613086779fa 0.9.11
mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered protocol issues
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 27 Sep 2016 22:01:46 +0100 |
| parents | 301d58705667 |
| children | 589e27b47d56 4e7269c53659 |
comparison
equal
deleted
inserted
replaced
| 7676:7311dc843718 | 7677: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 |
