Mercurial > prosody-modules
comparison mod_statistics_auth/mod_statistics_auth.lua @ 1440:78133eb11e7d
mod_statistics_auth: Remove comments left from module this was based on
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 20 Jun 2014 17:49:31 +0200 |
| parents | 86ceb94e3db4 |
| children |
comparison
equal
deleted
inserted
replaced
| 1439:86ceb94e3db4 | 1440:78133eb11e7d |
|---|---|
| 12 end); | 12 end); |
| 13 end | 13 end |
| 14 | 14 |
| 15 module:provides("statistics", { | 15 module:provides("statistics", { |
| 16 statistics = { | 16 statistics = { |
| 17 c2s_auth = { -- virtual memory | 17 c2s_auth = { |
| 18 get = function () | 18 get = function () |
| 19 return auth_ok; | 19 return auth_ok; |
| 20 end; | 20 end; |
| 21 tostring = tostring; | 21 tostring = tostring; |
| 22 }; | 22 }; |
| 23 c2s_authfail = { -- virtual memory | 23 c2s_authfail = { |
| 24 get = function () | 24 get = function () |
| 25 return auth_fail; | 25 return auth_fail; |
| 26 end; | 26 end; |
| 27 tostring = tostring; | 27 tostring = tostring; |
| 28 }; | 28 }; |
