From c7f041d6d061e1a38f63bf37ee3b7f63dfc3f4d9 Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 10 Oct 2018 00:57:39 +0000 Subject: [PATCH] Corrects additional incorrect guest authentication method. --- evennia/commands/default/unloggedin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evennia/commands/default/unloggedin.py b/evennia/commands/default/unloggedin.py index dc0f1ed476..7ff2c9a29a 100644 --- a/evennia/commands/default/unloggedin.py +++ b/evennia/commands/default/unloggedin.py @@ -42,11 +42,11 @@ def create_guest_account(session): address = session.address # Get account class - Account = class_from_module(settings.BASE_ACCOUNT_TYPECLASS) + Guest = class_from_module(settings.BASE_GUEST_TYPECLASS) # Get an available guest account - # authenticate_guest() handles its own throttling - account, errors = Account.authenticate_guest(ip=address) + # authenticate() handles its own throttling + account, errors = Guest.authenticate(ip=address) if account: return enabled, account else: