mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-08-27 04:37:41 +00:00
Fix incorrect string_view usage in log message
and I somehow forgot the semicolon
This commit is contained in:
@@ -63,7 +63,7 @@ bool CheckBytes(uint32_t Bytes) {
|
|||||||
|
|
||||||
void GameSend(std::string_view Data) {
|
void GameSend(std::string_view Data) {
|
||||||
if (!GConnected) {
|
if (!GConnected) {
|
||||||
debug("Tried to call GameSend but socket was not connected. Data: " + Data)
|
debug("Tried to call GameSend but socket was not connected. Data: " + std::string(Data));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
static std::mutex Lock;
|
static std::mutex Lock;
|
||||||
|
|||||||
Reference in New Issue
Block a user