diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-08 01:22:09 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-08 01:22:09 +0000 |
commit | 52ae20cb471bcf99c6f08dab2edbff57fe50f4e3 (patch) | |
tree | 69b40cd6713d71c0465740461db5d32d381ab1ec /net/server_select.lua | |
parent | 5da4e2583a68c0b7b600fc6afe7da6000c05fe8c (diff) | |
download | prosody-52ae20cb471bcf99c6f08dab2edbff57fe50f4e3.tar.gz prosody-52ae20cb471bcf99c6f08dab2edbff57fe50f4e3.zip |
net.server_select: Add get_backend() method
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index 4c923159..8f6ddf5b 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -845,6 +845,10 @@ loop = function( ) -- this is the main loop of the program return "quitting" end +local function get_backend() + return "select"; +end + --// EXPERIMENTAL //-- local wrapclient = function( socket, ip, serverport, listeners, pattern, sslctx, startssl ) @@ -917,5 +921,6 @@ return { getsettings = getsettings, setquitting = setquitting, removeserver = removeserver, + get_backend = get_backend, changesettings = changesettings, } |