# HG changeset patch # User Matthew Wild # Date 1255727960 -3600 # Node ID 3e7231c6d6a904211995624083736f77f2b98cda # Parent 3652ef68c36180d00a47079c53fc0e1bf4b2565b s2smanager: Fix access of 'config' global without requiring configmanager diff -r 3652ef68c361 -r 3e7231c6d6a9 core/s2smanager.lua --- 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;