git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix fild types in services and corporations
[stg.git]
/
projects
/
stargazer
/
admins_impl.cpp
diff --git
a/projects/stargazer/admins_impl.cpp
b/projects/stargazer/admins_impl.cpp
index 0179910ea12bdac511baaa23387df8ac24995156..3fe2c10b6c6c423629ee25ea2bd416a921449fb9 100644
(file)
--- a/
projects/stargazer/admins_impl.cpp
+++ b/
projects/stargazer/admins_impl.cpp
@@
-42,7
+42,8
@@
using namespace std;
//-----------------------------------------------------------------------------
ADMINS_IMPL::ADMINS_IMPL(STORE * st)
//-----------------------------------------------------------------------------
ADMINS_IMPL::ADMINS_IMPL(STORE * st)
- : stg(0xFFFF, "@stargazer", ""),
+ : ADMINS(),
+ stg(0xFFFF, "@stargazer", ""),
noAdmin(0xFFFF, "NO-ADMIN", ""),
data(),
store(st),
noAdmin(0xFFFF, "NO-ADMIN", ""),
data(),
store(st),
@@
-72,7
+73,7
@@
admin_iter ai(find(data.begin(), data.end(), adm));
if (ai != data.end())
{
if (ai != data.end())
{
- strError = "Administrator \'" + login + "\' cannot not be added. Administrator alredy exist.";
+ strError = "Administrator \'" + login + "\' cannot not be added. Administrator alre
a
dy exist.";
WriteServLog("%s %s", admin->GetLogStr().c_str(), strError.c_str());
return -1;
WriteServLog("%s %s", admin->GetLogStr().c_str(), strError.c_str());
return -1;