diff options
| author | 2023-09-21 20:06:39 +0100 | |
|---|---|---|
| committer | 2023-09-21 20:06:39 +0100 | |
| commit | e9271fcb4962b2ab55c994025038604d543c7488 (patch) | |
| tree | 1cd50821de7b122a4986a011e99568a47b5572d6 /src/configreader.cpp | |
| parent | Fix 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.cpp | 2 |
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); |
