summaryrefslogtreecommitdiffstats
path: root/lem/io.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lem/io.lua')
-rw-r--r--lem/io.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lem/io.lua b/lem/io.lua
index 41d7732..26f4274 100644
--- a/lem/io.lua
+++ b/lem/io.lua
@@ -69,6 +69,15 @@ do
end
end
+if not io.Stream.cork then
+ function io.Stream:cork()
+ return nil, 'Operation not supported'
+ end
+ function io.Stream:uncork()
+ return nil, 'Operation not supported'
+ end
+end
+
do
local MultiServer = {}
MultiServer.__index = MultiServer