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