Skip to content

Commit

Permalink
Merge pull request #3 from mklnz/main
Browse files Browse the repository at this point in the history
Fixed #1
  • Loading branch information
astrolox authored May 28, 2024
2 parents 1d52ce8 + 0a05541 commit cbe6cba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ func IsSignatureBanned(signature string) bool {
defer bannedMutex.RUnlock()

for _, list := range bannedSignatures {
if sort.SearchStrings(list, signature) < len(list) {
return true
for _, entry := range list {
if entry == signature {
return true
}
}
}

Expand Down

0 comments on commit cbe6cba

Please sign in to comment.