Mercurial > prosody-hg
comparison core/s2smanager.lua @ 4307:332fc256c76e
s2smanager: Fix letter case in log message (thanks darkrain)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 05 Jun 2011 23:55:16 +0100 |
| parents | fd4d1cf6d63e |
| children | d8b2c97ae6ed |
comparison
equal
deleted
inserted
replaced
| 4306:a101c59772e7 | 4307:332fc256c76e |
|---|---|
| 438 -- Send a reply stream header | 438 -- Send a reply stream header |
| 439 session.to_host = attr.to and nameprep(attr.to); | 439 session.to_host = attr.to and nameprep(attr.to); |
| 440 session.from_host = attr.from and nameprep(attr.from); | 440 session.from_host = attr.from and nameprep(attr.from); |
| 441 | 441 |
| 442 session.streamid = uuid_gen(); | 442 session.streamid = uuid_gen(); |
| 443 (session.log or log)("debug", "incoming s2s received <stream:stream>"); | 443 (session.log or log)("debug", "Incoming s2s received <stream:stream>"); |
| 444 if session.to_host then | 444 if session.to_host then |
| 445 if not hosts[session.to_host] then | 445 if not hosts[session.to_host] then |
| 446 -- Attempting to connect to a host we don't serve | 446 -- Attempting to connect to a host we don't serve |
| 447 session:close({ | 447 session:close({ |
| 448 condition = "host-unknown"; | 448 condition = "host-unknown"; |
