mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Eolk Ver
Dont need "local" and "bot"
This commit is contained in:
parent
a3affcb240
commit
f1013cd9a2
|
|
@ -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…
Reference in a new issue