Closed NullEntity closed 10 years ago
You're correct, and that's the approach I'd take too. Since the repository's version of AdvDupe.CheckPerms always returns true, what addon do you have that implements it?
I added a simple ULX group check to it so only certain members can upload dupes to the server.
If AdvDupe.CheckPerms returns false, AdvDupe.FileOpts will incorrectly give a "FileOpts: Bad Action Command!" error. I fixed this myself by moving the permission check into the if statement:
but you may wish to find a cleaner way to do this.