Software /
code /
prosody-modules
Diff
mod_stanza_counter/mod_stanza_counter_http.lua @ 518:d4adda950546
mod_stanza_counter: corrected syntax mistake in the http plugin.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Mon, 02 Jan 2012 17:38:28 +0000 |
parent | 437:78a2a6b2bea3 |
child | 535:39c7115be370 |
line wrap: on
line diff
--- a/mod_stanza_counter/mod_stanza_counter_http.lua Wed Dec 21 10:38:44 2011 +0000 +++ b/mod_stanza_counter/mod_stanza_counter_http.lua Mon Jan 02 17:38:28 2012 +0000 @@ -3,7 +3,7 @@ module:set_global() -local ports = module:get_option_array("stanza_counter_http_ports" or {{ port = 5280 }}) +local ports = module:get_option_array("stanza_counter_http_ports", {{ port = 5280 }}) local httpserver = require "net.httpserver"