Software /
code /
prosody
Changeset
2340:b286d60cb4fc
net.server_event: Add get_backend() method
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 08 Dec 2009 01:22:54 +0000 |
parents | 2339:b04014f42fce |
children | 2341:27584901ddb5 |
files | net/server_event.lua |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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,