summaryrefslogtreecommitdiffstats
path: root/scripts/hilightwin.pl
diff options
context:
space:
mode:
authordequis2015-11-07 14:09:15 -0300
committerdequis2015-11-07 14:09:15 -0300
commit06b472d38b0d266e4f25e2e9812c3151b7fad499 (patch)
tree5f25fbfe6dc0fb518b0be18f4a84501b611609dd /scripts/hilightwin.pl
parent1d7f4a7a4996ba53d4041b34f7d74ae6a16eebba (diff)
downloadscripts.irssi.org-06b472d38b0d266e4f25e2e9812c3151b7fad499.tar.bz2
hilightwin.pl: Use CLIENTCRAP level instead of NEVER to allow logging
Also remove the prepended timestamp, since CLIENTCRAP already has one
Diffstat (limited to 'scripts/hilightwin.pl')
-rw-r--r--scripts/hilightwin.pl8
1 files changed, 2 insertions, 6 deletions
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);
}
}