Commit 1bc519d1 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix warning (#1694)

parent 666e59ad
......@@ -14,9 +14,7 @@ has ottRule => (
$rule = $hd->buildSub( $hd->substitute($rule) );
unless ($rule) {
$_[0]->logger->error(
'Unable to compile "requireToken" rule, forcing token ('
. $hd->tsv->{jail}->error
. ')' );
'Unable to compile "requireToken" rule => Forcing token');
$rule = sub { 1 };
}
return $rule;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment