From 1ed7fd8203c0ac1024023d6a4966654567a36102 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Mon, 19 Sep 2022 01:17:34 +0200 Subject: [PATCH] Light warning string cleanup --- r5dev/vstdlib/callback.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r5dev/vstdlib/callback.cpp b/r5dev/vstdlib/callback.cpp index 3464aee1..2515ca7e 100644 --- a/r5dev/vstdlib/callback.cpp +++ b/r5dev/vstdlib/callback.cpp @@ -649,7 +649,7 @@ void RCON_CmdQuery_f(const CCommand& args) { if (!RCONClient()->IsInitialized()) { - Warning(eDLL_T::CLIENT, "Failed to issue command to RCON server: uninitialized\n"); + Warning(eDLL_T::CLIENT, "Failed to issue command to RCON server: %s\n", "uninitialized"); return; } else if (RCONClient()->IsConnected()) @@ -680,7 +680,7 @@ void RCON_CmdQuery_f(const CCommand& args) } else { - Warning(eDLL_T::CLIENT, "Failed to issue command to RCON server: unconnected\n"); + Warning(eDLL_T::CLIENT, "Failed to issue command to RCON server: %s\n", "unconnected"); return; } }