X-Git-Url: https://code.th-h.de/?p=usenet%2Fusevote.git;a=blobdiff_plain;f=uvvote.pl;h=0c12a06a91e7a65af4ec29ad3ccc7fdc44c2715a;hp=72a366e34d1530b662dd67deb4ce80ec9e42a192;hb=e651da8b3f205a07e7a4247d11dfcbe6e39986f2;hpb=69291ddcaae6fe05baeabb7806495dbc241ae409 diff --git a/uvvote.pl b/uvvote.pl index 72a366e..0c12a06 100755 --- a/uvvote.pl +++ b/uvvote.pl @@ -158,7 +158,7 @@ if ($clean) { # no mails: exit here unless ($count) { - print UVmessage::get("VOTE_NO_VOTES") . "\n\n"; + print UVmessage::get("VOTE_NO_VOTEMAILS") . "\n\n"; exit 0; } @@ -319,7 +319,7 @@ sub process_vote { # Should read like this: #a [ STIMME ] Text # (Text is configurable in usevote.cfg) unless ($$body =~ /$bdsg_regexp/s && - $$body =~ /#a\W*?\[\W*?$config{ja_stimme}\W*?\]\W*?$bdsg2_regexp/is) { + $$body =~ /#a\W*?\[\W*?$config{bdsg_confirm}\W*?\]\W*?$bdsg2_regexp/is) { push (@errors, 'InvalidBDSG'); }