From d6af6b353d02e8d164ca888f1e0c79370214b9cc Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 2 Feb 2013 16:16:35 +0000 Subject: Fixed GCC error in ManualBindings git-svn-id: http://mc-server.googlecode.com/svn/trunk@1189 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ManualBindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3