1
0

Fixed GCC error in ManualBindings

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1189 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-02-02 16:16:35 +00:00
parent 7167105e22
commit d6af6b353d

View File

@ -637,7 +637,7 @@ static int tolua_cPluginManager_BindCommand(lua_State * L)
int FnRef = luaL_ref(L, LUA_REGISTRYINDEX); // Store function reference int FnRef = luaL_ref(L, LUA_REGISTRYINDEX); // Store function reference
if (FnRef == LUA_REFNIL) 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; return 0;
} }