diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-12 15:16:22 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-12 15:16:22 +0000 |
commit | a00a7f76bc8bbc8a0174bfda7b7962e981e984df (patch) | |
tree | 73ef163a59d8ff7b4999698a8106019df13ad9b0 | |
parent | 38b5bebb5e8f53b3a83e4c46a3d2da1bcf6ead95 (diff) | |
download | prosody-a00a7f76bc8bbc8a0174bfda7b7962e981e984df.tar.gz prosody-a00a7f76bc8bbc8a0174bfda7b7962e981e984df.zip |
net.server_event: Add conn:setoption() to set options on the socket
-rw-r--r-- | net/server_event.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 2ce6add2..62c199c6 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -418,6 +418,10 @@ do return true end + function interface_mt:setoption(option, value) + return self.conn:setoption(option, value); + end + -- Stub handlers function interface_mt:onconnect() end |