From 58e8147b37c9069dec115185b7392fc09528b4ad Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Mon, 28 Feb 2011 22:35:06 -0500 Subject: Fix timeout defaulting to zero for link blocks --- src/modules/m_spanningtree/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index 2271bf374..dfce2bea1 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -382,7 +382,7 @@ void SpanningTreeUtilities::ReadConfiguration() L->RecvPass = tag->getString("recvpass", tag->getString("password")); L->Fingerprint = tag->getString("fingerprint"); L->HiddenFromStats = tag->getBool("statshidden"); - L->Timeout = tag->getInt("timeout"); + L->Timeout = tag->getInt("timeout", 30); L->Hook = tag->getString("ssl"); L->Bind = tag->getString("bind"); L->Hidden = tag->getBool("hidden"); -- cgit v1.2.3