net/server_event.lua
changeset 2478 7be72eca5666
parent 2477 a08ba94c2a29
child 2534 1f46a9d9b16a
--- a/net/server_event.lua	Thu Jan 21 12:23:13 2010 +0000
+++ b/net/server_event.lua	Thu Jan 21 12:56:08 2010 +0000
@@ -420,7 +420,10 @@
 	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