]> git.stg.codes - stg.git/blobdiff - projects/stargazer/admins_impl.cpp
Allow to use virtual inheritance on SETTINGS for testing purposes
[stg.git] / projects / stargazer / admins_impl.cpp
index 38d2cec0a26b73c75d500d49daf425a5142cb5fb..4980234acc302a5734fa5afa478ab16445478bcc 100644 (file)
 #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;
 
@@ -72,7 +72,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;