Fix system.listMethods inclusion check

This commit is contained in:
kannibalox
2024-11-01 08:24:15 -04:00
committed by Jari Sundell
parent 67babb65d6
commit b789d83b70
+1 -1
View File
@@ -443,7 +443,7 @@ cmd_catch(rpc::target_type target, const torrent::Object& args) {
void
initialize_command_dynamic() {
// clang-format off
#ifndef HAVE_XMLRPC_C
#ifdef HAVE_XMLRPC_TINYXML2
CMD2_ANY ("system.listMethods", std::bind(&system_listMethods)); // only used by tinyxml2
#endif