aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sv_rcon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/sv_rcon.cpp')
-rw-r--r--NorthstarDedicatedTest/sv_rcon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/sv_rcon.cpp b/NorthstarDedicatedTest/sv_rcon.cpp
index 936a7811..82649634 100644
--- a/NorthstarDedicatedTest/sv_rcon.cpp
+++ b/NorthstarDedicatedTest/sv_rcon.cpp
@@ -388,7 +388,7 @@ void CRConServer::Execute(const cl_rcon::request& cl_request) const
}
else // Execute command with "<val>".
{
- std::string svExec = cl_request.requestbuf() + " \"" + cl_request.requestval() + "\"";
+ std::string svExec = cl_request.requestbuf() + " " + cl_request.requestval();
Cbuf_AddText(Cbuf_GetCurrentPlayer(), svExec.c_str(), cmd_source_t::kCommandSrcCode);
Cbuf_Execute();
}