mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Merge pull request #1894 from aogier/double-whisper
do not duplicate whispers
This commit is contained in:
commit
3abb2f3fc8
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ class CmdWhisper(COMMAND_DEFAULT_CLASS):
|
|||
|
||||
receivers = [recv.strip() for recv in self.lhs.split(",")]
|
||||
|
||||
receivers = [caller.search(receiver) for receiver in receivers]
|
||||
receivers = [caller.search(receiver) for receiver in set(receivers)]
|
||||
receivers = [recv for recv in receivers if recv]
|
||||
|
||||
speech = self.rhs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue