summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2011-02-28 22:35:06 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2011-02-28 22:35:06 -0500
commit58e8147b37c9069dec115185b7392fc09528b4ad (patch)
tree7cd12d716ec79ab436064818d45be4d098820bc3 /src/modules
parent9aa4102cfd358ce3988050fd7befed7668ccca3f (diff)
Fix timeout defaulting to zero for link blocks
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/utils.cpp2
1 files changed, 1 insertions, 1 deletions
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");