# normally unixtime is sufficient, if it is not unique append our PID
my $ext = time;
- opendir (TMP, $config{tmpdir});
+ opendir (DIR, $config{tmpdir});
my @tmpfiles = readdir (DIR);
- closedir (TMP);
+ closedir (DIR);
opendir (FERTIG, $config{archivedir});
my @fertigfiles = readdir (FERTIG);
closedir (FERTIG);
# no mails: exit here
unless ($count) {
- print UVmessage::get("VOTE_NO_VOTES") . "\n\n";
+ print UVmessage::get("VOTE_NO_VOTEMAILS") . "\n\n";
exit 0;
}
# 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');
}