aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/client/rejectconnectionfixes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/client/rejectconnectionfixes.cpp')
-rw-r--r--NorthstarDLL/client/rejectconnectionfixes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/client/rejectconnectionfixes.cpp b/NorthstarDLL/client/rejectconnectionfixes.cpp
index 5daeb3ee..6adde8b6 100644
--- a/NorthstarDLL/client/rejectconnectionfixes.cpp
+++ b/NorthstarDLL/client/rejectconnectionfixes.cpp
@@ -25,7 +25,7 @@ void,, (bool a1, const char* fmt, ...))
R2::Cbuf_AddText(R2::Cbuf_GetCurrentPlayer(), "disconnect", R2::cmd_source_t::kCommandSrcCode);
}
- return COM_ExplainDisconnection(a1, buf);
+ return COM_ExplainDisconnection(a1, "%s", buf);
}
ON_DLL_LOAD_CLIENT("engine.dll", RejectConnectionFixes, (CModule module))