X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6a7381b164a6998bd2822355c58ab514c9dc79a7..c040d1767a18cb26020b14a6408796502e9e4135:/stargazer/plugins/configuration/rpcconfig/tariffs_methods.cpp diff --git a/stargazer/plugins/configuration/rpcconfig/tariffs_methods.cpp b/stargazer/plugins/configuration/rpcconfig/tariffs_methods.cpp index 4a912cae..2047202a 100644 --- a/stargazer/plugins/configuration/rpcconfig/tariffs_methods.cpp +++ b/stargazer/plugins/configuration/rpcconfig/tariffs_methods.cpp @@ -62,7 +62,7 @@ if (config->GetAdminInfo(cookie, &adminInfo)) STG::Admin * admin; -if (admins->Find(adminInfo.admin, &admin)) +if (admins->find(adminInfo.admin, &admin)) { *retvalPtr = xmlrpc_c::value_boolean(false); return; @@ -142,7 +142,7 @@ if (config->GetAdminInfo(cookie, &adminInfo)) STG::Admin * admin; -if (admins->Find(adminInfo.admin, &admin)) +if (admins->find(adminInfo.admin, &admin)) { *retvalPtr = xmlrpc_c::value_boolean(false); return; @@ -174,7 +174,7 @@ if (config->GetAdminInfo(cookie, &adminInfo)) STG::Admin * admin; -if (admins->Find(adminInfo.admin, &admin)) +if (admins->find(adminInfo.admin, &admin)) { *retvalPtr = xmlrpc_c::value_boolean(false); return;