mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-06 13:10:21 +00:00
Eolk Ver
Dont need "local" and "bot"
This commit is contained in:
parent
a3affcb240
commit
f1013cd9a2
1 changed files with 2 additions and 6 deletions
|
|
@ -265,14 +265,10 @@ function ClassicLoadBanlist()
|
|||
}
|
||||
|
||||
// From Eolks
|
||||
// Minor improvement by Teratos
|
||||
function getIPAddress(%client)
|
||||
{
|
||||
%port = nextToken(nextToken(%client.getAddress(), "ip", ":"), "addr", ":");
|
||||
if(%client.isAIControlled()) {
|
||||
%addr = "bot";
|
||||
}
|
||||
return (%addr $= "" ? "Local" : %addr);
|
||||
%port = nextToken( nextToken(%client.getAddress(), "ip", ":"), "addr", ":");
|
||||
return %addr;
|
||||
}
|
||||
|
||||
// From Eolks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue