fix check for SrAdmin
This commit is contained in:
parent
4dad0ab053
commit
2c6b89356c
@ -13,7 +13,7 @@
|
||||
void init()
|
||||
{
|
||||
|
||||
std::cout << "ClanTagRank (1.0.3) by INSANEMODE\n";
|
||||
std::cout << "ClanTagRank (1.0.4) by INSANEMODE\n";
|
||||
std::thread rank(Game::clanTagThread);
|
||||
rank.detach();
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ namespace Game
|
||||
memcpy((void*)currentname, (void*)((clientAddr + (clientOffset * i))), 16);
|
||||
currentname_str = std::string(currentname, 16);
|
||||
memcpy((void*)currentClanTag, (void*)(((clientAddr +(clientOffset * i)) + clanTagAddr)), 8);
|
||||
if ((strstr(currentClanTag, "Creator") == NULL) && (strstr(currentClanTag, "Admin") == NULL) && (strstr(currentClanTag, "Trusted") == NULL) && (strstr(currentClanTag, "Mod") == NULL) && (strstr(currentClanTag, "Owner") == NULL) && (strstr(currentClanTag, "3arc") == NULL) && (strncmp(currentname, emptyname, 16) != 0))
|
||||
if ((strstr(currentClanTag, "Creator") == NULL) && (strstr(currentClanTag, "Admin") == NULL) && (strstr(currentClanTag, "SrAdmin") == NULL) && (strstr(currentClanTag, "Trusted") == NULL) && (strstr(currentClanTag, "Mod") == NULL) && (strstr(currentClanTag, "Owner") == NULL) && (strstr(currentClanTag, "3arc") == NULL) && (strncmp(currentname, emptyname, 16) != 0))
|
||||
{
|
||||
changeClanTag_str = ClanTagRequest(currentname);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user