From e13391a45fda77624108272b573035723c6fad75 Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Fri, 25 Nov 2022 20:58:43 -0700 Subject: [PATCH] fix no_prefix bug --- evennia/accounts/accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/accounts/accounts.py b/evennia/accounts/accounts.py index 1dfaae00b7..1a46cdbc19 100644 --- a/evennia/accounts/accounts.py +++ b/evennia/accounts/accounts.py @@ -1060,7 +1060,7 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase): # normal message message = f"{sender_string}: {message}" - if not kwargs.get("no_prefix") or not kwargs.get("emit"): + if not kwargs.get("no_prefix") and not kwargs.get("emit"): message = channel.channel_prefix() + message return message