Merge branch 'master' into develop
This commit is contained in:
commit
13ebf768db
5 changed files with 16 additions and 10 deletions
|
|
@ -301,7 +301,7 @@ class CmdDelAccount(COMMAND_DEFAULT_CLASS):
|
|||
|
||||
# one single match
|
||||
|
||||
account = accounts.pop()
|
||||
account = accounts.first()
|
||||
|
||||
if not account.access(caller, 'delete'):
|
||||
string = "You don't have the permissions to delete that account."
|
||||
|
|
|
|||
|
|
@ -1087,7 +1087,7 @@ class CmdSetHome(CmdLink):
|
|||
set an object's home location
|
||||
|
||||
Usage:
|
||||
@home <obj> [= <home_location>]
|
||||
@sethome <obj> [= <home_location>]
|
||||
|
||||
The "home" location is a "safety" location for objects; they
|
||||
will be moved there if their current location ceases to exist. All
|
||||
|
|
@ -1098,13 +1098,13 @@ class CmdSetHome(CmdLink):
|
|||
"""
|
||||
|
||||
key = "@sethome"
|
||||
locks = "cmd:perm(@home) or perm(Builder)"
|
||||
locks = "cmd:perm(@sethome) or perm(Builder)"
|
||||
help_category = "Building"
|
||||
|
||||
def func(self):
|
||||
"""implement the command"""
|
||||
if not self.args:
|
||||
string = "Usage: @home <obj> [= <home_location>]"
|
||||
string = "Usage: @sethome <obj> [= <home_location>]"
|
||||
self.caller.msg(string)
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue