aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-16 04:37:54 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-16 04:37:54 +0500
commit0fbd257633c4135bf5ad7550747c06ce69f7ea3a (patch)
treedd4764244ac9b8cdf80e49d7189d9bb849a7379c /core/sessionmanager.lua
parent801779a3e2065dd2cec223c3eb2092706673aac6 (diff)
downloadprosody-0fbd257633c4135bf5ad7550747c06ce69f7ea3a.tar.gz
prosody-0fbd257633c4135bf5ad7550747c06ce69f7ea3a.zip
Fixed sessionmanager to use appropriate method for sending stream features
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 9fa00212..da4a1408 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -111,7 +111,7 @@ function streamopened(session, attr)
send("<stream:features>");
for _, feature in ipairs(features) do
- send_to_session(session, tostring(feature));
+ send(session, tostring(feature));
end
send("</stream:features>");