aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-02-01 02:20:11 +0000
committerMatthew Wild <mwild1@gmail.com>2009-02-01 02:20:11 +0000
commit9d01e12f12fe253263e9434c92789dc10553a495 (patch)
treead2aac4520235b17fd29ee6e3dc115b12de0e613 /plugins
parent6db495119489d56524c013dac6b21d4f77d48e15 (diff)
downloadprosody-9d01e12f12fe253263e9434c92789dc10553a495.tar.gz
prosody-9d01e12f12fe253263e9434c92789dc10553a495.zip
mod_bosh: No need to tostring() uuids now
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 223fe2ba..3dd7a6a0 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -119,7 +119,7 @@ function stream_callbacks.streamopened(request, attr)
end
-- New session
- sid = tostring(new_uuid());
+ sid = new_uuid();
local session = { type = "c2s_unauthed", conn = {}, sid = sid, rid = attr.rid, host = attr.to, bosh_version = attr.ver, bosh_wait = attr.wait, streamid = sid,
bosh_hold = BOSH_DEFAULT_HOLD, bosh_max_inactive = BOSH_DEFAULT_INACTIVITY,
requests = { }, send_buffer = {}, reset_stream = bosh_reset_stream, close = bosh_close_stream, dispatch_stanza = core_process_stanza };