Mercurial > prosody-modules
changeset 1075:164ed759b1d2
mod_statistics/stats.lib.lua: Better check for prosody vs prosodyctl
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 15 Jun 2013 20:43:10 +0100 |
parents | cccd9f6a628d |
children | 5616cab8b6d6 |
files | mod_statistics/stats.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_statistics/stats.lib.lua Sat Jun 15 20:36:23 2013 +0100 +++ b/mod_statistics/stats.lib.lua Sat Jun 15 20:43:10 2013 +0100 @@ -71,7 +71,7 @@ }; local add_statistics_filter; -- forward decl -if prosody and prosody.full_sessions then -- start_time ensures we aren't in prosodyctl +if prosody and prosody.arg then -- ensures we aren't in prosodyctl setmetatable(active_sessions, { __index = function ( t, k ) local v = {