make message a bit more generic

master
Joey Hess 2008-07-22 15:06:59 -04:00
parent cbf1c8b810
commit bac47cdecd
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ sub check_canattach ($$;$) {
} }
} }
if (! $allowed) { if (! $allowed) {
error(gettext("attachment rejected")." ($allowed)"); error(gettext("prohibited by allowed_attachments")." ($allowed)");
} }
else { else {
return 1; return 1;