Skip to content

Commit

Permalink
Fix whitelist status printing an error
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeJoeTV committed Jan 4, 2024
1 parent f08ff31 commit b9cb639
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astro/dedicatedserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ def server_loop(self):
if success:
CMD_LOGGER.info("Successfully disabled whitelist")
elif args["subcmd"] == ConsoleParser.WhitelistSubcommand.STATUS:
success = True
CMD_LOGGER.info(f"The whitelist is currently {'enabled' if self.curr_server_stat.isEnforcingWhitelist else 'disabled'}")

if not success:
Expand Down

0 comments on commit b9cb639

Please sign in to comment.