summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-14 16:44:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-14 16:44:04 +0000
commit97a4acebb53a9c07e988a9ae1311d95adb5806eb (patch)
tree5e79c7adc56e6125fe885f0fa53bde07b8de3b81
parentd7ecb6198658cca6f79383f80e560c55527ab986 (diff)
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
-rw-r--r--docs/inspircd.conf.example3
-rw-r--r--src/modules/m_spanningtree/utils.cpp2
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);