Fixed PermissionFrom()

This commit is contained in:
2022-08-11 03:52:16 -05:00
parent af6f170833
commit bef5b0328e
2 changed files with 3 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ func (token Token) Value () (value any) {
// Equals returns whether this token is equal to another token
func (token Token) Equals (testToken Token) (match bool) {
return token == testToken
return token.value == testToken.value
}
// Location returns the location of the token in its file.