Fix issue by not including port when an admin is added by IP address (bug 5978, r=arkshine)

This commit is contained in:
Arkshine 2014-04-11 21:47:43 +02:00
parent f097e01c3f
commit 4cd9d1df46

View File

@ -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)
{