Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Server/mods/deathmatch/logic/luadefs/CLuaACLDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ int CLuaACLDefs::aclGroupRemoveObject(lua_State* luaVM)

int CLuaACLDefs::hasObjectPermissionTo(lua_State* luaVM)
{
// bool hasObjectPermissionTo ( string / element theObject, string theAction [, bool defaultPermission = true ] )
// bool hasObjectPermissionTo ( string / element theObject, string theAction [, bool defaultPermission = false ] )
CResource* pResource = NULL;
CElement* pElement = NULL;
SString strObject;
Expand All @@ -905,7 +905,7 @@ int CLuaACLDefs::hasObjectPermissionTo(lua_State* luaVM)
argStream.ReadString(strObject);

argStream.ReadString(strRightName);
argStream.ReadBool(bDefault, true);
argStream.ReadBool(bDefault, false);

if (!argStream.HasErrors())
{
Expand Down
Loading