Adjusted checks for Object/Account to prevent conflicts.

This commit is contained in:
Andrew Bastien 2023-11-21 16:37:49 -05:00
parent b4a3bae6a9
commit 30bfc36beb
9 changed files with 12 additions and 14 deletions

View file

@ -78,7 +78,7 @@ class CmdMore(Command):
Implement the command
"""
more = self.caller.ndb._more
if not more and hasattr(self.caller, "account"):
if not more and hasattr(self.caller, "has_account"):
more = self.caller.account.ndb._more
if not more:
self.caller.msg("Error in loading the pager. Contact an admin.")