[Bug Fix] Bound the barter welcome message and don't use it as a format string (#5141)

This commit is contained in:
straps-eq authored and GitHub committed 2026-11-17 23:26:00 -08:00
1 parent 38ba1eeed3
commit 202a316f81
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -3130,7 +3130,7 @@ void Client::SendBuyerGreeting(uint32 buyer_id)
Message(Chat::White, "Welcome!");
return;
}
Message(Chat::White, buyer.front().welcome_message.c_str());
Message(Chat::White, "%s", buyer.front().welcome_message.c_str());
}
void Client::SendSellerBrowsing(const std::string &browser)