aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-18 01:27:31 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-18 01:27:31 +0000
commit0d6100844b07daef86571021aa8d3492e4da45ee (patch)
tree45c16a4d2f5af162ac863cc8924c27dc80b438d7 /core/s2smanager.lua
parente99e23509b0b20f49bc1d0763947514bb6f5d4d7 (diff)
parent2283fae9c1b85932f6386e8eb421a3c6a319aa84 (diff)
downloadprosody-0d6100844b07daef86571021aa8d3492e4da45ee.tar.gz
prosody-0d6100844b07daef86571021aa8d3492e4da45ee.zip
Merge 0.7->trunk
Diffstat (limited to 'core/s2smanager.lua')
-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);