aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r--plugins/mod_c2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index ef4bd4b3..a1820029 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -90,7 +90,7 @@ function stream_callbacks._streamopened(session, attr)
return;
end
- session:open_stream();
+ session:open_stream(host, attr.from);
(session.log or log)("debug", "Sent reply <stream:stream> to client");
session.notopen = nil;