From 3dabfbdfe64eae04d7872d1b4cbbc317401ea989 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 22 Jan 2009 00:29:02 -0600 Subject: [PATCH] don't delay and format error messages, just print them --- twirssi.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/twirssi.pl b/twirssi.pl index 9fc47bc..acb469c 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -740,7 +740,7 @@ sub monitor_child { } elsif ( $meta{type} eq 'dm' ) { push @lines, [$meta{type}, $account, $meta{nick}, $_]; } elsif ( $meta{type} eq 'error' ) { - push @lines, [$_]; + $window->print("ERROR: $_", MSGLEVEL_PUBLIC); } elsif ( $meta{type} eq 'debug' ) { print "$_" if &debug,; } else { @@ -911,7 +911,6 @@ Irssi::theme_register([ 'twirssi_tweet', '[$0%B@$1%n$2] $3', 'twirssi_reply', '[$0\--> %B@$1%n$2] $3', 'twirssi_dm', '[$0%B@$1%n (%WDM%n)] $2', - 'twirssi_error', 'ERROR: $0', ]); Irssi::settings_add_str( "twirssi", "twitter_window", "twitter" ); -- 2.39.5