Bug fix: err() fatal errors now work. They didn't work due to bad regex.
This commit is contained in:
1 parent
0791e61b68
commit
cd78b37fc9
3 files changed
+5
-2
No files matched your search
+1
-1
@@ -111,7 +111,7 @@ sub err
|
||||
if ($lvl =~ m/[^0-9]/) {
|
||||
return 0;
|
||||
}
|
||||
if ($fatal =~ m/(^0|1)/) {
|
||||
if ($fatal =~ m/[^0-1]/) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user