cmdboot trying to reference pobj as a player before pobj is set as a player. changed to use the player name search failed on.
This commit is contained in:
parent
d101a7d058
commit
7ac777e0bf
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class CmdBoot(COMMAND_DEFAULT_CLASS):
|
|||
# Boot by player object
|
||||
pobj = search.player_search(args)
|
||||
if not pobj:
|
||||
self.caller("Player %s was not found." % pobj.key)
|
||||
self.caller("Player %s was not found." % args)
|
||||
return
|
||||
pobj = pobj[0]
|
||||
if not pobj.access(caller, 'boot'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue