Fix issue by not including port when an admin is added by IP address (bug 5978, r=arkshine)
This commit is contained in:
parent
f097e01c3f
commit
4cd9d1df46
@ -251,7 +251,7 @@ public addadminfn(id, level, cid)
|
||||
}
|
||||
else if (idtype & ADMIN_IPADDR)
|
||||
{
|
||||
get_user_ip(player, auth, 32)
|
||||
get_user_ip(player, auth, 32, 1)
|
||||
}
|
||||
else if (idtype & ADMIN_NAME)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user