diff options
author | Daniel De Graaf <danieldg@inspircd.org> | 2011-02-28 22:35:06 -0500 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2011-02-28 22:35:06 -0500 |
commit | 58e8147b37c9069dec115185b7392fc09528b4ad (patch) | |
tree | 7cd12d716ec79ab436064818d45be4d098820bc3 /src/modules/m_spanningtree | |
parent | 9aa4102cfd358ce3988050fd7befed7668ccca3f (diff) |
Fix timeout defaulting to zero for link blocks
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 2 |
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"); |