Sanitize hash sums in modules

This commit is contained in:
Širhoe Biazhkovič
2021-09-05 19:51:21 +03:00
parent d0e13b3273
commit 25879a0f3a
2 changed files with 2 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ func (h *hook) HandleAnnounce(ctx context.Context, req *bittorrent.AnnounceReque
return ctx, err
}
func (h *hook) HandleScrape(ctx context.Context, req *bittorrent.ScrapeRequest, _ *bittorrent.ScrapeResponse) (context.Context, error) {
func (h *hook) HandleScrape(ctx context.Context, _ *bittorrent.ScrapeRequest, _ *bittorrent.ScrapeResponse) (context.Context, error) {
// Scrapes don't require any protection.
return ctx, nil
}