File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Server/mods/deathmatch/logic/luadefs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -888,7 +888,7 @@ int CLuaACLDefs::aclGroupRemoveObject(lua_State* luaVM)
888888
889889int CLuaACLDefs::hasObjectPermissionTo (lua_State* luaVM)
890890{
891- // bool hasObjectPermissionTo ( string / element theObject, string theAction [, bool defaultPermission = true ] )
891+ // bool hasObjectPermissionTo ( string / element theObject, string theAction [, bool defaultPermission = false ] )
892892 CResource* pResource = NULL ;
893893 CElement* pElement = NULL ;
894894 SString strObject;
@@ -905,7 +905,7 @@ int CLuaACLDefs::hasObjectPermissionTo(lua_State* luaVM)
905905 argStream.ReadString (strObject);
906906
907907 argStream.ReadString (strRightName);
908- argStream.ReadBool (bDefault, true );
908+ argStream.ReadBool (bDefault, false );
909909
910910 if (!argStream.HasErrors ())
911911 {
You can’t perform that action at this time.
0 commit comments