aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-08 23:41:16 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-08 23:41:16 +0500
commitac0b566ab429e47490e3d4372e662be4dfee2fe4 (patch)
tree5219b51188ecd16e38ffb3280c04d4e0c2ee37f0 /plugins
parentb226545decb1fafa7cef15f4e0c37cd459a70dd7 (diff)
downloadprosody-ac0b566ab429e47490e3d4372e662be4dfee2fe4.tar.gz
prosody-ac0b566ab429e47490e3d4372e662be4dfee2fe4.zip
mod_selftests: Updated to use module:get_option instead of configmanager
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_selftests.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_selftests.lua b/plugins/mod_selftests.lua
index 6a26dfc3..c4399299 100644
--- a/plugins/mod_selftests.lua
+++ b/plugins/mod_selftests.lua
@@ -12,8 +12,7 @@ local st = require "util.stanza";
local register_component = require "core.componentmanager".register_component;
local core_route_stanza = core_route_stanza;
local socket = require "socket";
-local config = require "core.configmanager";
-local ping_hosts = config.get("*", "mod_selftests", "ping_hosts") or { "coversant.interop.xmpp.org", "djabberd.interop.xmpp.org", "djabberd-trunk.interop.xmpp.org", "ejabberd.interop.xmpp.org", "openfire.interop.xmpp.org" };
+local ping_hosts = module:get_option("ping_hosts") or { "coversant.interop.xmpp.org", "djabberd.interop.xmpp.org", "djabberd-trunk.interop.xmpp.org", "ejabberd.interop.xmpp.org", "openfire.interop.xmpp.org" };
local open_pings = {};