aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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,