Mercurial > prosody-modules
changeset 639:d4f3754c4286
mod_streamstats: Import count and keys from util.iterators
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 18:10:36 +0100 (2012-04-28) |
parents | 60cee6923ee7 |
children | d87131b29bbd |
files | mod_streamstats/mod_streamstats.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_streamstats/mod_streamstats.lua Sat Apr 28 17:44:28 2012 +0100 +++ b/mod_streamstats/mod_streamstats.lua Sat Apr 28 18:10:36 2012 +0100 @@ -1,4 +1,6 @@ local stats = prosody.stats; +local iter = require "util.iterators"; +local count, keys = iter.count, iter.keys; if not stats then stats = {