aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-09-21 20:06:39 +0100
committerGravatar Sadie Powell2023-09-21 20:06:39 +0100
commite9271fcb4962b2ab55c994025038604d543c7488 (patch)
tree1cd50821de7b122a4986a011e99568a47b5572d6 /src/configreader.cpp
parentFix a nonsense comment in the cloak API header. (diff)
Rename <options:hostintopic> to <options:maskintopic>.
This option stores the user *mask* not the user host so the old name is incorrect.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index b82428935..ac382758e 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -362,7 +362,7 @@ void ServerConfig::Fill()
// Read the <options> config.
const auto& options = ConfValue("options");
DefaultModes = options->getString("defaultmodes", "not");
- FullHostInTopic = options->getBool("hostintopic");
+ MaskInTopic = options->getBool("maskintopic", options->getBool("hostintopic"));
NoSnoticeStack = options->getBool("nosnoticestack");
SyntaxHints = options->getBool("syntaxhints");
XLineMessage = options->getString("xlinemessage", "You're banned!", 1);