[Cleanup] UCS Member Count (#4819)

* [Cleanup] Fix SendChannelMembers size in UCS ChatChannelList

* Part 2

* Forgot null terminator
This commit is contained in:
JJ
2025-03-30 15:46:46 -04:00
committed by GitHub
parent 92128b98fd
commit c4262b3fa6
+2 -2
View File
@@ -177,7 +177,7 @@ void ChatChannelList::SendAllChannels(Client *c) {
std::string Message;
char CountString[10];
char CountString[13];
while(iterator.MoreElements()) {
@@ -408,7 +408,7 @@ void ChatChannel::SendChannelMembers(Client *c) {
if(!c) return;
char CountString[10];
char CountString[13];
sprintf(CountString, "(%i)", MemberCount(c->GetAccountStatus()));