s2smanager: Fix access of 'config' global without requiring configmanager

Fri, 16 Oct 2009 22:19:20 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 16 Oct 2009 22:19:20 +0100
changeset 1962
3e7231c6d6a9
parent 1961
3652ef68c361
child 1963
7533549e8ba6

s2smanager: Fix access of 'config' global without requiring configmanager

core/s2smanager.lua file | annotate | diff | comparison | revisions
--- a/core/s2smanager.lua	Fri Oct 16 22:13:54 2009 +0100
+++ b/core/s2smanager.lua	Fri Oct 16 22:19:20 2009 +0100
@@ -39,7 +39,7 @@
 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;

mercurial