projects
/
twirssi-net-twitter-lite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7bb246
)
don't delay and format error messages, just print them
author
Brian S. Stephan
<bss@emptymatter.org>
Thu, 22 Jan 2009 06:29:02 +0000
(
00:29
-0600)
committer
Brian S. Stephan
<bss@emptymatter.org>
Thu, 22 Jan 2009 06:29:02 +0000
(
00:29
-0600)
twirssi.pl
patch
|
blob
|
history
diff --git
a/twirssi.pl
b/twirssi.pl
index 9fc47bc01554941f61afaefef3d01da275654343..acb469c1185caa3e9639a3aebfcea00e497e9722 100644
(file)
--- 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' ) {
} 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 {
} 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_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" );
]);
Irssi::settings_add_str( "twirssi", "twitter_window", "twitter" );