namespace PT renamed to pt
This commit is contained in:
@@ -69,7 +69,7 @@ bool Login::CheckPasswords(User & user, const std::wstring & password)
|
||||
{
|
||||
if( system->crypt.RSA(false, config->pass_rsa_private_key, user.pass_encrypted, pass_decrypted) )
|
||||
{
|
||||
PT::UTF8ToWide(pass_decrypted, user.password);
|
||||
pt::UTF8ToWide(pass_decrypted, user.password);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -173,7 +173,7 @@ void Login::CheckBan()
|
||||
if( ip_ban->expires < expires )
|
||||
ip_ban->expires = expires;
|
||||
|
||||
PT::Date date(ip_ban->expires);
|
||||
pt::Date date(ip_ban->expires);
|
||||
log << log2 << "Login: logging from this IP address has been blocked until to: " << date << " UTC" << logend;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user