Changeset

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
parents 517:f866325305ed
children 519:219ffe3541ff 520:6fa8436f8ee3
files mod_stanza_counter/mod_stanza_counter_http.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"