mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 00:06:30 +01:00
fix no_prefix bug
This commit is contained in:
parent
7114aea912
commit
b6f0411481
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue