Merge back fixes into master
This commit is contained in:
parent
5871e64681
commit
a8603975a1
4 changed files with 14 additions and 5 deletions
|
|
@ -824,7 +824,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
|
|||
"""Perform the command"""
|
||||
account = self.account
|
||||
permstr = account.is_superuser and " (superuser)" or "(%s)" % (", ".join(account.permissions.all()))
|
||||
if self.cmdstring == '@unquell':
|
||||
if self.cmdstring in ('unquell', '@unquell'):
|
||||
if not account.attributes.get('_quell'):
|
||||
self.msg("Already using normal Account permissions %s." % permstr)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ class CmdLook(COMMAND_DEFAULT_CLASS):
|
|||
caller.msg("You have no location to look at!")
|
||||
return
|
||||
else:
|
||||
target = caller.search(self.args, use_dbref=caller.check_permstring("Builders"))
|
||||
target = caller.search(self.args)
|
||||
if not target:
|
||||
return
|
||||
self.msg(caller.at_look(target))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue