X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/306856457e4490c8d97d80d2cd5f2c5535190181..6fea72fd20cb3c2f7d0203b50b5e200ca4a930bf:/include/stg/user_property.h diff --git a/include/stg/user_property.h b/include/stg/user_property.h index 822bc0f9..fbd6aa46 100644 --- a/include/stg/user_property.h +++ b/include/stg/user_property.h @@ -15,12 +15,13 @@ $Author: faust $ #include #include +#include "stg/logger.h" +#include "stg/locker.h" +#include "stg/scriptexecuter.h" + #include "store.h" #include "admin.h" #include "notifer.h" -#include "logger.h" -#include "locker.h" -#include "scriptexecuter.h" #include "noncopyable.h" extern const volatile time_t stgTime; @@ -285,8 +286,6 @@ bool USER_PROPERTY_LOGGED::Set(const varT & val, const std::string & msg) { const PRIV * priv = admin->GetPriv(); -std::string adm_login = admin->GetLogin(); -std::string adm_ip = admin->GetIPStr(); if ((priv->userConf && !isStat) || (priv->userStat && isStat) ||