aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-08 01:22:09 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-08 01:22:09 +0000
commit52ae20cb471bcf99c6f08dab2edbff57fe50f4e3 (patch)
tree69b40cd6713d71c0465740461db5d32d381ab1ec /net/server_select.lua
parent5da4e2583a68c0b7b600fc6afe7da6000c05fe8c (diff)
downloadprosody-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.lua5
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,
}