aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index a1403911..c01c85a6 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -420,7 +420,10 @@ do
end
function interface_mt:setoption(option, value)
- return self.conn:setoption(option, value);
+ if self.conn.setoption then
+ return self.conn:setoption(option, value);
+ end
+ return false, "setoption not implemented";
end
-- Stub handlers