Commit 6cdec76e2a

6cdec76e2a38ac707bca0146f735c25c84bf3c64

parent: 1ad251863e

Unsigned

Darafei Praliaskouski <me@komzpa.net> · 2026-06-30 13:05 UTC
committer: <strk@kbt.io>

fix: save server config options deterministically

Layout: unified · split

src/config.rs +4 −1
@@ -182,8 +182,11 @@ impl ConfigHandle {
182182 |_weechat: &Weechat,
183183 config: &Conf,
184184 section: &mut ConfigSection| {
185 let mut options = section.options();
186 options.sort_by(|a, b| a.name().cmp(&b.name()));
187
185188 config.write_section(section.name());
186 for option in section.options() {
189 for option in options {
187190 config.write_option(option);
188191 }
189192 },