From 06b472d38b0d266e4f25e2e9812c3151b7fad499 Mon Sep 17 00:00:00 2001 From: dequis Date: Sat, 7 Nov 2015 14:09:15 -0300 Subject: hilightwin.pl: Use CLIENTCRAP level instead of NEVER to allow logging Also remove the prepended timestamp, since CLIENTCRAP already has one --- scripts/hilightwin.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/hilightwin.pl b/scripts/hilightwin.pl index d735e1b..7d70317 100644 --- a/scripts/hilightwin.pl +++ b/scripts/hilightwin.pl @@ -11,7 +11,7 @@ use Irssi; use POSIX; use vars qw($VERSION %IRSSI); -$VERSION = "0.03"; +$VERSION = "0.04"; %IRSSI = ( authors => "Timo \'cras\' Sirainen, Mark \'znx\' Sangster", contact => "tss\@iki.fi, znxster\@gmail.com", @@ -40,12 +40,8 @@ sub sig_printtext { if ($dest->{level} & MSGLEVEL_PUBLIC) { $text = $dest->{target}.": ".$text; } - $text = strftime( - Irssi::settings_get_str('timestamp_format')." ", - localtime - ).$text; $text =~ s/%/%%/g; - $window->print($text, MSGLEVEL_NEVER) if ($window); + $window->print($text, MSGLEVEL_CLIENTCRAP) if ($window); } } -- cgit v1.2.3