diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-03-18 01:15:25 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-03-18 01:15:25 +0000 |
commit | fb803e14088f1fae972d0f6d15d051b5a375be6e (patch) | |
tree | 821501dbcb5c876bd0b41a2789af03e22761593c /core/s2smanager.lua | |
parent | b3aafb2c908ee767656555086c9c08c471f5063a (diff) | |
download | prosody-fb803e14088f1fae972d0f6d15d051b5a375be6e.tar.gz prosody-fb803e14088f1fae972d0f6d15d051b5a375be6e.zip |
s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful)
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 92f07354..b01653db 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -359,12 +359,6 @@ function streamopened(session, attr) session.secure = true; end - if session.version >= 1.0 and not (attr.to and attr.from) then - - (session.log or log)("warn", "Remote of stream "..(session.from_host or "(unknown)").."->"..(session.to_host or "(unknown)") - .." failed to specify to (%s) and/or from (%s) hostname as per RFC", tostring(attr.to), tostring(attr.from)); - end - if session.direction == "incoming" then -- Send a reply stream header session.to_host = attr.to and nameprep(attr.to); |