Fixed /who <channel> result being incorrectly formatted.

This commit is contained in:
Pachira 2022-08-30 15:52:03 +00:00
parent ea83c8cca0
commit 08f9a2c5a1

View file

@ -474,7 +474,7 @@ namespace SharpChat {
if(whoChanSB.Length > 2)
whoChanSB.Length -= 2;
user.Send(new LegacyCommandResponse(LCR.USERS_LISTING_CHANNEL, false, whoChanSB));
user.Send(new LegacyCommandResponse(LCR.USERS_LISTING_CHANNEL, false, whoChan.Name, whoChanSB));
} else {
foreach(ChatUser whoUser in Context.Users.All()) {
whoChanSB.Append(@"<a href=""javascript:void(0);"" onclick=""UI.InsertChatText(this.innerHTML);""");