diff options
-rw-r--r-- | net/server_event.lua | 1 | ||||
-rw-r--r-- | net/server_select.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 53330997..e10606dd 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -850,6 +850,7 @@ local function link(sender, receiver, buffersize) sender:pause(); end end + sender:set_mode("*a"); end return { diff --git a/net/server_select.lua b/net/server_select.lua index daad0f50..6308e62f 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -709,6 +709,7 @@ local function link(sender, receiver, buffersize) sender:lock_read(true); end end + sender:set_mode("*a"); end ----------------------------------// PUBLIC //-- |