]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/rpcconfig.cpp
Strange code removed
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / rpcconfig.cpp
index 7968e0dc74249845b6e75e9268d6ca4626c4a9b3..1f2b8e181ee9dbd288ae3daab9cc3b63001295ae 100644 (file)
@@ -204,7 +204,7 @@ bool RPC_CONFIG::CheckAdmin(const std::string & login,
 {
 ADMIN * admin = NULL;
 
-if (!admins->AdminCorrect(login, password, &admin))
+if (!admins->Correct(login, password, &admin))
     {
     return true;
     }