Software /
code /
prosody
Diff
net/server_event.lua @ 2340:b286d60cb4fc
net.server_event: Add get_backend() method
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 08 Dec 2009 01:22:54 +0000 |
parent | 2336:fb1d9d2444df |
child | 2367:22dc9005360f |
line wrap: on
line diff
--- a/net/server_event.lua Tue Dec 08 01:22:09 2009 +0000 +++ b/net/server_event.lua Tue Dec 08 01:22:54 2009 +0000 @@ -774,6 +774,10 @@ end end +function get_backend() + return base:method(); +end + return { cfg = cfg, @@ -787,6 +791,7 @@ wrapclient = wrapclient, setquitting = setquitting, closeall = closeallservers, + get_backend = get_backend, __NAME = SCRIPT_NAME, __DATE = LAST_MODIFIED,