From 6a6d8485ce5469251885642d20fb731db38bed7c Mon Sep 17 00:00:00 2001 From: rakshasa Date: Fri, 28 Aug 2026 16:44:13 +0200 Subject: [PATCH] Stuff. --- src/command_system.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command_system.cc b/src/command_system.cc index a520f5c8..4615acd2 100644 --- a/src/command_system.cc +++ b/src/command_system.cc @@ -78,8 +78,8 @@ initialize_command_system() { CMD_VAR_C_STRING("system.client_version", PACKAGE_VERSION); CMD_VAR_C_STRING("system.library_version", torrent::runtime::version()); - CMD_ANY ("system.torrent_name.replace_slash", [](auto, auto) { return torrent::runtime::client_config()->torrent_name_use_sanitized(); }); - CMD_ANY_VALUE_V ("system.torrent_name.replace_slash.set", [](auto, auto& value) { return torrent::runtime::client_config()->set_torrent_name_use_sanitized(value); }); + CMD_ANY ("system.torrent_name.use_sanitized", [](auto, auto) { return torrent::runtime::client_config()->torrent_name_use_sanitized(); }); + CMD_ANY_VALUE_V ("system.torrent_name.use_sanitized.set", [](auto, auto& value) { return torrent::runtime::client_config()->set_torrent_name_use_sanitized(value); }); CMD_VAR_VALUE ("system.file.allocate", 0); CMD_VAR_VALUE ("system.file.max_size", (int64_t)512 << 30);