#include <cassert>
#include <algorithm>
+#include "stg/admins.h"
+#include "stg/admin.h"
+#include "stg/common.h"
#include "admins_impl.h"
-#include "admins.h"
-#include "admin.h"
#include "admin_impl.h"
-#include "common.h"
using namespace std;
//-----------------------------------------------------------------------------
ADMINS_IMPL::ADMINS_IMPL(STORE * st)
- : stg(0xFFFF, "@stargazer", ""),
+ : ADMINS(),
+ stg(0xFFFF, "@stargazer", ""),
noAdmin(0xFFFF, "NO-ADMIN", ""),
data(),
store(st),
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;