Changeset

763:8e77a39826c2

mod_bosh: No need to tostring() uuids now
author Matthew Wild <mwild1@gmail.com>
date Sun, 01 Feb 2009 02:20:11 +0000
parents 762:5ae018c016ba
children 764:b8a62ae5601a
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Sun Feb 01 02:17:56 2009 +0000
+++ b/plugins/mod_bosh.lua	Sun Feb 01 02:20:11 2009 +0000
@@ -119,7 +119,7 @@
 		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 };