Bug fix: err() fatal errors now work. They didn't work due to bad regex.

This commit is contained in:
Elijah Perrault committed 2011-01-19 18:22:06 -07:00
1 parent 0791e61b68
commit cd78b37fc9
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -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;
}