mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-03 08:00:25 +00:00
[Cleanup] UCS Member Count (#4819)
* [Cleanup] Fix SendChannelMembers size in UCS ChatChannelList * Part 2 * Forgot null terminator
This commit is contained in:
+2
-2
@@ -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()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user