projects
/
usenet
/
usevote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update documentation from upstream.
[usenet/usevote.git]
/
uvvote.pl
diff --git
a/uvvote.pl
b/uvvote.pl
index
67754d2
..
2af270e
100755
(executable)
--- a/
uvvote.pl
+++ b/
uvvote.pl
@@
-241,9
+241,9
@@
sub process_vote {
}
# correct voting?
}
# correct voting?
- if ($$body =~ /\Q$config{ballotintro}\E\s+(.+?)\s*\n(
.
*?[\t ]+(\S+.+)\s*$)?/m) {
+ if ($$body =~ /\Q$config{ballotintro}\E\s+(.+?)\s*\n(
[>:|]
*?[\t ]+(\S+.+)\s*$)?/m) {
$voting = $1;
$voting = $1;
- $voting .= " $3" if
defined($3
);
+ $voting .= " $3" if
(defined($3) and $3 !~ /\Q$config{nametext}\E/
);
push (@errors, 'WrongVoting') if ($config{votename} !~ /^\s*\Q$voting\E\s*$/);
} else {
push (@errors, 'NoVoting');
push (@errors, 'WrongVoting') if ($config{votename} !~ /^\s*\Q$voting\E\s*$/);
} else {
push (@errors, 'NoVoting');
@@
-329,7
+329,7
@@
sub process_vote {
# Should read like this: #a [ STIMME ] Text
# (Text is configurable in usevote.cfg)
unless ($$body =~ /$bdsg_regexp/s &&
# 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');
}
push (@errors, 'InvalidBDSG');
}
This page took
0.010832 seconds
and
4
git commands to generate.