mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +00:00
[Cleanup] UCS Member Count (#4819)
* [Cleanup] Fix SendChannelMembers size in UCS ChatChannelList * Part 2 * Forgot null terminator
This commit is contained in:
parent
92128b98fd
commit
c4262b3fa6
@ -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()));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user