diff options
| author | 2026-03-12 15:15:38 +0000 | |
|---|---|---|
| committer | 2026-03-12 15:38:54 +0000 | |
| commit | 7ed7c7ba0dfd3f73a7d8a621988d7e99f07a23ef (patch) | |
| tree | 1f98a809b4018a6cabfe17aa2549507072840438 /src/configreader.cpp | |
| parent | Move channel settings to the <channels> tag. (diff) | |
Move <options:defaultmodes> to <channels> and rework.
- The default prefix modes are now separate from the default channel
modes. This should result in less accidentally broken configs.
- The privs are now pre-parsed to a list of mode references. This
should improve performance slightly as the repeated mode lookups
are gone. It also allows us to write warnings to the debug log
when the default privs are invalid.
- Channels can now have a default topic.
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 1b7ac6195..8681272cb 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -377,7 +377,6 @@ void ServerConfig::Fill() // Read the <options> config. const auto& options = ConfValue("options"); CustomVersion = options->getString("customversion", security->getString("customversion")); - DefaultModes = options->getString("defaultmodes", "not"); MaskInList = options->getBool("maskinlist"); MaskInTopic = options->getBool("maskintopic"); NoSnoticeStack = options->getBool("nosnoticestack"); |
