Software /
code /
prosody-modules
Comparison
mod_stanza_counter/mod_stanza_counter.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parent | 534:3d6e0e037dab |
comparison
equal
deleted
inserted
replaced
1342:0ae065453dc9 | 1343:7dbde05b48a9 |
---|---|
4 local jid_bare = require "util.jid".bare | 4 local jid_bare = require "util.jid".bare |
5 | 5 |
6 -- Setup, Init functions. | 6 -- Setup, Init functions. |
7 -- initialize function counter table on the global object on start | 7 -- initialize function counter table on the global object on start |
8 local function init_counter() | 8 local function init_counter() |
9 prosody.stanza_counter = { | 9 prosody.stanza_counter = { |
10 iq = { incoming=0, outgoing=0 }, | 10 iq = { incoming=0, outgoing=0 }, |
11 message = { incoming=0, outgoing=0 }, | 11 message = { incoming=0, outgoing=0 }, |
12 presence = { incoming=0, outgoing=0 } | 12 presence = { incoming=0, outgoing=0 } |
13 } | 13 } |
14 end | 14 end |