summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/ManualBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index 8dc55a54c..5b2b6ff9e 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -637,7 +637,7 @@ static int tolua_cPluginManager_BindCommand(lua_State * L)
int FnRef = luaL_ref(L, LUA_REGISTRYINDEX); // Store function reference
if (FnRef == LUA_REFNIL)
{
- LOGERROR("\"BindCommand\": Cannot create a function reference. Command \"%s\" not bound.", Command);
+ LOGERROR("\"BindCommand\": Cannot create a function reference. Command \"%s\" not bound.", Command.c_str());
return 0;
}