aboutsummaryrefslogtreecommitdiff
path: root/post/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'post/util.go')
-rw-r--r--post/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/util.go b/post/util.go
index cead842..0b87d42 100644
--- a/post/util.go
+++ b/post/util.go
@@ -155,7 +155,7 @@ func IsMediaBanned(f multipart.File) (bool, error) {
hash := util.HashBytes(fileBytes)
- // f.Seek(0, 0)
+ f.Seek(0, 0)
return db.IsHashBanned(hash)
}