mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
do not duplicate whispers
This commit is contained in:
parent
734f3beb33
commit
8bd85409ff
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