mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 00:06:30 +01:00
Merge pull request #2999 from InspectorCaracal/channel-no-prefix
Fix no_prefix bug
This commit is contained in:
commit
3d5b19033e
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