Revoke 14-days trail and add a revoke menu
This commit is contained in:
@@ -275,7 +275,7 @@ LOGIN_INFOR GetLoginInfo(DWORD dwSpeed, const CONNECT_ADDRESS& conn)
|
||||
str = std::string(auth);
|
||||
str.erase(std::remove(str.begin(), str.end(), ' '), str.end());
|
||||
auto list = StringToVector(str, '-', 3);
|
||||
str = list[1];
|
||||
str = list[1].empty() ? "Unknown" : list[1];
|
||||
}
|
||||
LoginInfor.AddReserved(str.c_str()); // <20><>Ȩ<EFBFBD><C8A8>Ϣ
|
||||
bool isDefault = strlen(conn.szFlag) == 0 || strcmp(conn.szFlag, skCrypt(FLAG_GHOST)) == 0 ||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <commands.h>
|
||||
#include <common/commands.h>
|
||||
|
||||
std::string GetIPAddress(const char* hostName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user