From e01a2574098c6e29613bd46763d4addf25db5787 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sat, 13 Aug 2022 04:13:51 +0700 Subject: [PATCH] Change announcers to use `Flush()` instead of `Say()` This will prevent commands' oputput from having a nickname in front of them. --- sources/CommandAnnouncer.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/CommandAnnouncer.uc b/sources/CommandAnnouncer.uc index 73c44a8..f507a8a 100644 --- a/sources/CommandAnnouncer.uc +++ b/sources/CommandAnnouncer.uc @@ -273,7 +273,7 @@ private final function AnnounceTemplate( .TextArg(P("instigator"), instigatorName) .TextArg(P("target"), targetName); result = template.CollectFormattedM(); - writer.Say(result); + writer.Write(result).Flush(); _.memory.Free(result); }