aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-16 22:19:20 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-16 22:19:20 +0100
commit9167a96cfb2d519ff3dbb3aef09edc1637eab1a4 (patch)
treeb6e14bbfa53824a29c04a10d49baf0e816fda47b
parent8bfd53c8a6522257ecd397491990ab9158eb8b44 (diff)
downloadprosody-9167a96cfb2d519ff3dbb3aef09edc1637eab1a4.tar.gz
prosody-9167a96cfb2d519ff3dbb3aef09edc1637eab1a4.zip
s2smanager: Fix access of 'config' global without requiring configmanager
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 8421afba..5b86d559 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -39,7 +39,7 @@ local sha256_hash = require "util.hashes".sha256;
local dialback_secret = uuid_gen();
local adns, dns = require "net.adns", require "net.dns";
-
+local config = require "core.configmanager";
local connect_timeout = config.get("*", "core", "s2s_timeout") or 60;
local dns_timeout = config.get("*", "core", "dns_timeout") or 60;
local max_dns_depth = config.get("*", "core", "dns_max_depth") or 3;