From 97a4acebb53a9c07e988a9ae1311d95adb5806eb Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Jun 2007 16:44:04 +0000 Subject: Fix problem where two unrelated options are named identically, thanks for reminding me djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7302 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/inspircd.conf.example | 3 ++- src/modules/m_spanningtree/utils.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index 5c29d4f0b..4c35c3423 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -439,7 +439,7 @@ # link to succeed. OpenSSL and GnuTLS are link- # # compatible with each other. # # # -# hidden - When using m_spanningtree.so for linking. you may # +# statshidden - When using m_spanningtree.so for linking. you may # # set this to 'yes', and if you do, the IP address/ # # hostname of this connection will NEVER be shown to # # any opers on the network. In /STATS c its address # @@ -552,6 +552,7 @@ timeout="15" transport="gnutls" bind="1.2.3.4" + statshidden="no" hidden="no" sendpass="outgoing!password" recvpass="incoming!password"> diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index 8b191fa03..9675a6ac8 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -518,7 +518,7 @@ void SpanningTreeUtilities::ReadConfiguration(bool rebind) L.SendPass = Conf->ReadValue("link", "sendpass", j); L.RecvPass = Conf->ReadValue("link", "recvpass", j); L.AutoConnect = Conf->ReadInteger("link", "autoconnect", j, true); - L.HiddenFromStats = Conf->ReadFlag("link", "hidden", j); + L.HiddenFromStats = Conf->ReadFlag("link", "statshidden", j); L.Timeout = Conf->ReadInteger("link", "timeout", j, true); L.Hook = Conf->ReadValue("link", "transport", j); L.Bind = Conf->ReadValue("link", "bind", j); -- cgit v1.2.3