aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-08 01:22:54 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-08 01:22:54 +0000
commit997f8c16d684708277322413efd48fb2c7434bcc (patch)
tree7147fbdae8377f1848f268abeca71dd81ff32c78
parent52ae20cb471bcf99c6f08dab2edbff57fe50f4e3 (diff)
downloadprosody-997f8c16d684708277322413efd48fb2c7434bcc.tar.gz
prosody-997f8c16d684708277322413efd48fb2c7434bcc.zip
net.server_event: Add get_backend() method
-rw-r--r--net/server_event.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index b9bb5129..8fa59c75 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -774,6 +774,10 @@ local function setquitting(yes)
end
end
+function get_backend()
+ return base:method();
+end
+
return {
cfg = cfg,
@@ -787,6 +791,7 @@ return {
wrapclient = wrapclient,
setquitting = setquitting,
closeall = closeallservers,
+ get_backend = get_backend,
__NAME = SCRIPT_NAME,
__DATE = LAST_MODIFIED,