summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treeserver.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-07 21:44:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-07 21:44:44 +0000
commit5e98adde5d5da261882dfe76b18cc2af2217a875 (patch)
tree54d8cdef6b8adfd4e528c0fdb392a5738b382390 /src/modules/m_spanningtree/treeserver.cpp
parentc67ab9aa97de6072e40efa528e80ffb2a7e45280 (diff)
Feature request from djGrr, allow changing of server to server ping frequency
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7686 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.cpp')
-rw-r--r--src/modules/m_spanningtree/treeserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp
index b5cac1802..d13075f0f 100644
--- a/src/modules/m_spanningtree/treeserver.cpp
+++ b/src/modules/m_spanningtree/treeserver.cpp
@@ -67,7 +67,7 @@ TreeServer::TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance, std::str
{
VersionString.clear();
UserCount = OperCount = 0;
- this->SetNextPingTime(time(NULL) + 60);
+ this->SetNextPingTime(time(NULL) + Utils->PingFreq);
this->SetPingFlag();
rtt = LastPing = 0;
/* find the 'route' for this server (e.g. the one directly connected