Fix problem with recognition of ANNULLIERUNG.

Vote nullification is now recognized for
every topic.

Change template accordingly.

Picked from upstream.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2014-02-15 17:44:29 +01:00
parent 34809a2a81
commit e670e40bb0
2 changed files with 1 additions and 4 deletions

View file

@ -273,7 +273,7 @@ sub process_vote {
# this matches on a single appearance:
if ($$body =~ /#$votenum\W*?\[(.+)\]/) {
# one or more vote strings were found
$onevote = 1;
$onevote ||= 1; # set $onevote to 1 if it was 0
my $votestring = $1;
if ($votestring =~ /^\W*$config{ja_stimme}\W*$/i) {
$vote = "J";