X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/687631532197750696d35aa12c40406b04fb878d..9ff682964a02109507959c858c2571e1e6780ee8:/projects/stargazer/admins_impl.cpp?ds=sidebyside diff --git a/projects/stargazer/admins_impl.cpp b/projects/stargazer/admins_impl.cpp index 0179910e..53775717 100644 --- a/projects/stargazer/admins_impl.cpp +++ b/projects/stargazer/admins_impl.cpp @@ -32,8 +32,6 @@ #include #include -#include "stg/admins.h" -#include "stg/admin.h" #include "stg/common.h" #include "admins_impl.h" #include "admin_impl.h" @@ -42,7 +40,8 @@ using namespace std; //----------------------------------------------------------------------------- ADMINS_IMPL::ADMINS_IMPL(STORE * st) - : stg(0xFFFF, "@stargazer", ""), + : ADMINS(), + stg(0xFFFF, "@stargazer", ""), noAdmin(0xFFFF, "NO-ADMIN", ""), data(), store(st), @@ -72,7 +71,7 @@ admin_iter ai(find(data.begin(), data.end(), adm)); if (ai != data.end()) { - strError = "Administrator \'" + login + "\' cannot not be added. Administrator alredy exist."; + strError = "Administrator \'" + login + "\' cannot not be added. Administrator already exist."; WriteServLog("%s %s", admin->GetLogStr().c_str(), strError.c_str()); return -1;