mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Merge pull request #1515 from chainsol/fix_account_delete
Change pop() to first() in commands/default/admin.py
This commit is contained in:
commit
25bfc8f9e8
1 changed files with 1 additions and 1 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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue