mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 02:06:32 +01:00
Change pop() to first()
This commit is contained in:
parent
c1735ec2a1
commit
74bbd0efea
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