aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/logread.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/logread.pl b/contrib/logread.pl
index 11baf2d86a..26f809e541 100755
--- a/contrib/logread.pl
+++ b/contrib/logread.pl
@@ -98,9 +98,9 @@ while (<>)
s/\b(multicast|psyc|psycstore|social)\b/BLUE $1/ex;
# Add message type names
- s/(message(?:\s+part)?(?:\s+of)?\s+type\s+)(\d+)/
+ s/(\s+type\s+)(\d+)/
$1 . BRIGHT_CYAN (exists $msgtypes{$2} ? $msgtypes{$2} : 'UNKNOWN') .
- CYAN " ($2)"/e;
+ CYAN " ($2)"/ei;
print;
}