mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix extra/missing spaces in quell output (#2991)
This commit is contained in:
parent
393ab797fe
commit
222c7e1ec9
1 changed files with 2 additions and 2 deletions
|
|
@ -987,7 +987,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
|
|||
"""Perform the command"""
|
||||
account = self.account
|
||||
permstr = (
|
||||
account.is_superuser and " (superuser)" or "(%s)" % ", ".join(account.permissions.all())
|
||||
account.is_superuser and "(superuser)" or "(%s)" % ", ".join(account.permissions.all())
|
||||
)
|
||||
if self.cmdstring in ("unquell", "unquell"):
|
||||
if not account.attributes.get("_quell"):
|
||||
|
|
@ -1011,7 +1011,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
|
|||
cpermstr += "\nUse unquell to return to normal permission usage."
|
||||
self.msg(cpermstr)
|
||||
else:
|
||||
self.msg(f"Quelling Account permissions{permstr}. Use unquell to get them back.")
|
||||
self.msg(f"Quelling Account permissions {permstr}. Use unquell to get them back.")
|
||||
self._recache_locks(account)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue