aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-07-25 13:54:27 +0100
committerMatthew Wild <mwild1@gmail.com>2014-07-25 13:54:27 +0100
commit302c40a40db05cafad981fd5565e0c8281d8919f (patch)
tree2bf143aa85236f3dfda8d62425b70811ae9e49e2
parent9d6c2816c42ff0431b6353505443b3ddb9d9f936 (diff)
parent5647cd22878f2872de88f7f9be6ab5d4ed5f7639 (diff)
downloadprosody-302c40a40db05cafad981fd5565e0c8281d8919f.tar.gz
prosody-302c40a40db05cafad981fd5565e0c8281d8919f.zip
Merge 0.9->0.10
-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 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 //--