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)
888
888
889
889
int CLuaACLDefs::hasObjectPermissionTo (lua_State* luaVM)
890
890
{
891
- // bool hasObjectPermissionTo ( string / element theObject, string theAction [, bool defaultPermission = true ] )
891
+ // bool hasObjectPermissionTo ( string / element theObject, string theAction [, bool defaultPermission = false ] )
892
892
CResource* pResource = NULL ;
893
893
CElement* pElement = NULL ;
894
894
SString strObject;
@@ -905,7 +905,7 @@ int CLuaACLDefs::hasObjectPermissionTo(lua_State* luaVM)
905
905
argStream.ReadString (strObject);
906
906
907
907
argStream.ReadString (strRightName);
908
- argStream.ReadBool (bDefault, true );
908
+ argStream.ReadBool (bDefault, false );
909
909
910
910
if (!argStream.HasErrors ())
911
911
{
You can’t perform that action at this time.
0 commit comments