From b01610db7a39cd2ddc0ff9f9cc2763ec50d99125 Mon Sep 17 00:00:00 2001 From: Christoph Brill Date: Tue, 7 Feb 2017 13:33:57 +0100 Subject: Drop channel name from each line --- details.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/details.php b/details.php index 786c2d6..6dc0d36 100644 --- a/details.php +++ b/details.php @@ -23,11 +23,12 @@ foreach ($lines as $line_num => $line) { if ($show_html == 'true') { $line = preg_replace($pattern, "\\1\\2\\3\\4", $line); } - $user_link = '', '>', $user)).''; + $user_link .= '>'.$user_clean.':'; + $line = preg_replace('/([0-9:]{5}) #'.$channel.':/', '\\1', $line); if (!in_array($time, $timehashes)) { $time_link = ''.$time.''; $line = str_replace($time, $time_link, $line); -- cgit v1.2.3