aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-18 01:25:50 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-18 01:25:50 +0000
commit2283fae9c1b85932f6386e8eb421a3c6a319aa84 (patch)
treeef724f4fc6be2eba70b44822e2e82c620583b8ca /core
parent48e4e284e95e0d8ea1d65357b3aef3740ee9a4d8 (diff)
parent4528953bcd7937bdd9d46c9cd07b6c0cbae94244 (diff)
downloadprosody-2283fae9c1b85932f6386e8eb421a3c6a319aa84.tar.gz
prosody-2283fae9c1b85932f6386e8eb421a3c6a319aa84.zip
Merge 0.6->0.7
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index b65fe00c..f0b802d8 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -369,11 +369,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);