aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-03 22:21:01 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-03 22:21:01 +0100
commitc0f3a8153a70190a026f636eb5df98773ce393cf (patch)
treee6377845dd674a7237b1f3cc58c22b4237588957
parent6c2578d43b71dfe93757e360d050de015ba455f5 (diff)
downloadprosody-c0f3a8153a70190a026f636eb5df98773ce393cf.tar.gz
prosody-c0f3a8153a70190a026f636eb5df98773ce393cf.zip
An oops in sessionmanager stream:features code :)
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index deca21c0..f19721ed 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -75,7 +75,7 @@ function streamopened(session, attr)
send("<stream:features>");
for _, feature in ipairs(features) do
- send_to_session(session, tostring(features));
+ send_to_session(session, tostring(feature));
end
send("</stream:features>");