namespace PT renamed to pt

This commit is contained in:
2021-05-20 20:59:12 +02:00
parent d66a36cf21
commit e48a28a5c8
100 changed files with 597 additions and 597 deletions

View File

@@ -59,7 +59,7 @@ void ipban_current_ip_expires_time(Info & i)
{
if( cur->session->ip_ban && cur->session->ip_ban->expires != 0 )
{
PT::Date date = cur->session->ip_ban->expires;
pt::Date date = cur->session->ip_ban->expires;
i.out << date << " UTC";
}
}
@@ -96,7 +96,7 @@ void ipban_tab_ip(Info & i)
{
if( ipban_index < session_manager->BanListSize() )
{
PT::WTextStream buf = IPToStr(session_manager->GetIPBan(ipban_index).ip);
pt::WTextStream buf = IPToStr(session_manager->GetIPBan(ipban_index).ip);
i.out << buf;
}
}
@@ -164,7 +164,7 @@ void ipban_tab_expires(Info & i)
if( ipban.expires != 0 )
{
time_t expires_local = system->ToLocal(ipban.expires);
PT::Date date(expires_local);
pt::Date date(expires_local);
i.out << date;
}
}
@@ -180,7 +180,7 @@ void ipban_tab_last_used(Info & i)
if( ipban.last_used != 0 )
{
time_t last_used_local = system->ToLocal(ipban.last_used);
PT::Date date(last_used_local);
pt::Date date(last_used_local);
i.out << date;
}
}