summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/inspircd.conf.example15
-rw-r--r--src/modules/m_spanningtree/utils.cpp2
2 files changed, 8 insertions, 9 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index d607f3124..1ea44d1bf 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -781,13 +781,12 @@
# of text sent out. Eg. NOTICE @#test :@ testing #
# vs. the off setting: NOTICE @#test :testing #
# #
-# notimesync - If this value is 'yes', 'true', or '1', time #
-# synchronization is disabled on this server. This #
-# means any servers you are linked to will not #
-# automatically synchronize time with you, and in #
-# most cases will just result in more bounced modes #
-# on netsplits. This option should be the same on #
-# all servers. #
+# timesync - If this value is 'yes', 'true', or '1', time #
+# synchronization i enabled on this server. This #
+# means any servers you are linked to will #
+# automatically synchronize time with you, however #
+# this can cause clock drifts internal to InspIRCd, #
+# and you should use ntpd instead, NOT this option. #
# #
# hostintopic - If this is set to yes (the default) then the full #
# nick!user@host is shown for who set a TOPIC last. #
@@ -822,7 +821,7 @@
cyclehosts="yes"
ircumsgprefix="no"
announcets="yes"
- notimesync="no"
+ timesync="no"
hostintopic="yes"
allowhalfop="yes">
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 38e25657c..eb4e8bb3a 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -377,7 +377,7 @@ void SpanningTreeUtilities::ReadConfiguration(bool rebind)
FlatLinks = Conf->ReadFlag("options","flatlinks",0);
HideULines = Conf->ReadFlag("options","hideulines",0);
AnnounceTSChange = Conf->ReadFlag("options","announcets",0);
- EnableTimeSync = !(Conf->ReadFlag("options","notimesync",0));
+ EnableTimeSync = Conf->ReadFlag("options","timesync",0);
LinkBlocks.clear();
ValidIPs.clear();
for (int j =0; j < Conf->Enumerate("link"); j++)