Merge branch 'thh-strictbdsg' into next
* thh-strictbdsg: Enforce strict response for data protection clause.
This commit is contained in:
commit
6422cdc893
3 changed files with 9 additions and 1 deletions
|
|
@ -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 &&
|
||||
$$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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue