diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-08 14:41:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-08 14:41:27 +0000 |
commit | eaeb69b3bade35e0ac3a3f10a3ffe633df554dab (patch) | |
tree | ad1c009963596459653929f1abe1487802cd0e83 | |
parent | cbcb5806ec43878b5643c5f62b235f84c352820d (diff) |
Change options:notimesync to options:timesync -> reverse its meaning and default it to off
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6637 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | docs/inspircd.conf.example | 15 | ||||
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 2 |
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++) |