summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/attachment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm
index 2a662c0d1..acc52f0e9 100644
--- a/IkiWiki/Plugin/attachment.pm
+++ b/IkiWiki/Plugin/attachment.pm
@@ -32,7 +32,7 @@ sub check_canattach ($$;$) {
}
}
if (! $allowed) {
- error(gettext("attachment rejected")." ($allowed)");
+ error(gettext("prohibited by allowed_attachments")." ($allowed)");
}
else {
return 1;