mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
check owner role before updating owner ip list
This commit is contained in:
parent
bf4c01c291
commit
4d046f4b0b
1 changed files with 9 additions and 8 deletions
1
dist/ba_root/mods/tools/account.py
vendored
1
dist/ba_root/mods/tools/account.py
vendored
|
|
@ -75,6 +75,7 @@ class AccountUtil:
|
||||||
|
|
||||||
|
|
||||||
def updateOwnerIps():
|
def updateOwnerIps():
|
||||||
|
if "owner" in pdata.get_roles():
|
||||||
accountIds = pdata.get_roles()["owner"]["ids"]
|
accountIds = pdata.get_roles()["owner"]["ids"]
|
||||||
profiles = pdata.get_profiles()
|
profiles = pdata.get_profiles()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue