Image to Post - eokm

This commit is contained in:
Matthew Barbour 2020-10-26 10:22:58 -05:00
parent 08d28a2513
commit 13582d842f

View file

@ -29,7 +29,7 @@ class Eokm extends Extension
// all ok
} elseif ($return == "true") {
log_warning("eokm", "User tried to upload banned image {$event->image->hash}");
throw new UploadException("Image banned");
throw new UploadException("Post banned");
} else {
log_warning("eokm", "Unexpected return from EOKM: $return");
}