aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server_event.lua1
-rw-r--r--net/server_select.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index b79fc463..52c1e9c1 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -840,6 +840,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 0aaea4be..06deec32 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -710,6 +710,7 @@ local function link(sender, receiver, buffersize)
sender:lock_read(true);
end
end
+ sender:set_mode("*a");
end
----------------------------------// PUBLIC //--