#include "stg/scriptexecuter.h"
#include "stg/locker.h"
#include "stg/common.h"
+#include "stg/const.h"
#include "listener.h"
void InitEncrypt(BLOWFISH_CTX * ctx, const std::string & password);
//-----------------------------------------------------------------------------
LISTENER::LISTENER()
- : WriteServLog(GetStgLogger()),
+ : WriteServLog(STG::Logger::get()),
port(0),
running(false),
receiverStopped(true),
{
printfd(__FILE__, "Disconnect user '%s'\n", it->login.c_str());
// Disconnect existing user
+ uit->params = it->params;
Disconnect(*uit);
users.erase(uit);
}