X-Git-Url: https://code.th-h.de/?p=usenet%2Fusevote.git;a=blobdiff_plain;f=uvvote.pl;h=a151250695aac55fa3408196fc08f7dc4e9bad35;hp=8e8fb68b608af026802046e34eea285ff7aca6b7;hb=a7ea02d5923c106e8a1e597d399262ed615a1704;hpb=0470756d59c43b341cabfd0833a38245149bb770 diff --git a/uvvote.pl b/uvvote.pl index 8e8fb68..a151250 100755 --- a/uvvote.pl +++ b/uvvote.pl @@ -1,8 +1,8 @@ #!/usr/bin/perl -w ############################################################################### -# UseVoteGer 4.11 Wahldurchfuehrung -# (c) 2001-2012 Marc Langer +# UseVoteGer 4.12 Wahldurchfuehrung +# (c) 2001-2014 Marc Langer # # This script package is free software; you can redistribute it and/or # modify it under the terms of the GNU Public License as published by the @@ -271,7 +271,7 @@ sub process_vote { } # this matches on a single appearance: - if ($$body =~ /#$votenum\W*?\[(.+)\]/) { + if ($$body =~ /#$votenum\W*?\[(.+?)\]/) { # one or more vote strings were found $onevote ||= 1; # set $onevote to 1 if it was 0 my $votestring = $1;