Commit a1471184 authored by nanahira's avatar nanahira

improve

parent 73ae206c
......@@ -866,10 +866,12 @@ CLIENT_send_replays = (client, room) ->
return true
SOCKET_flush_data = (sk, datas) ->
if !sk or sk.closed
return false
for buffer in datas
sk.write(buffer)
datas.splice(0, datas.length)
return
return true
class Room
constructor: (name, @hostinfo) ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment