]> git.stg.codes - stg.git/blobdiff - projects/stargazer/admin_impl.cpp
Variable scope reduction.
[stg.git] / projects / stargazer / admin_impl.cpp
index 3d2c4895bf52ef84b64d50f9e40eb437a452fe3f..400fe5c4a6a8bb14abec25d28ab0ba344ba72d92 100644 (file)
  */
 
 #include "admin_impl.h"
+
 #include "stg/common.h"
 
 //-----------------------------------------------------------------------------
 ADMIN_IMPL::ADMIN_IMPL()
     : ADMIN(),
       conf(),
-      ip(0),
-      WriteServLog(GetStgLogger())
+      ip(0)
 {
 }
 //-----------------------------------------------------------------------------
 ADMIN_IMPL::ADMIN_IMPL(const ADMIN_CONF & ac)
     : ADMIN(),
       conf(ac),
-      ip(0),
-      WriteServLog(GetStgLogger())
+      ip(0)
 {
 }
 //-----------------------------------------------------------------------------
@@ -53,8 +52,7 @@ ADMIN_IMPL::ADMIN_IMPL(const PRIV & priv,
                        const std::string & password)
     : ADMIN(),
       conf(priv, login, password),
-      ip(0),
-      WriteServLog(GetStgLogger())
+      ip(0)
 {
 }
 //-----------------------------------------------------------------------------