diff options
author | Timo Sirainen <cras@irssi.org> | 2002-12-08 13:40:42 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-12-08 13:40:42 +0000 |
commit | 0152ec2d1965c358a9eedb2346165a3d44af3cde (patch) | |
tree | 9425cc1f77d9ebd310051715764f901799f65269 | |
parent | e51f4e96fe1705974039ba623f9d6451d045a472 (diff) | |
download | irssi-0152ec2d1965c358a9eedb2346165a3d44af3cde.zip |
Updated from scripts.irssi.org
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3048 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | scripts/scriptassist.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/scriptassist.pl b/scripts/scriptassist.pl index 362341d4..93c50075 100644 --- a/scripts/scriptassist.pl +++ b/scripts/scriptassist.pl @@ -6,7 +6,7 @@ use strict; use vars qw($VERSION %IRSSI); -$VERSION = '2002120601'; +$VERSION = '2002120801'; %IRSSI = ( authors => 'Stefan \'tommie\' Tomanek', contact => 'stefan@pico.ruhr.de', @@ -982,6 +982,7 @@ sub toggle_autorun ($) { sub sig_gui_print_text ($$$$$$) { my ($win, $fg, $bg, $flags, $text, $dest) = @_; return if $flags > 1; + return unless Irssi::settings_get_bool('scriptassist_catch_script_errors'); if ($text =~ /Can't locate (.*?)\.pm in \@INC \(\@INC contains:(.*?) at/) { my $module = $1; $module =~ s/\//::/g; @@ -1077,7 +1078,7 @@ Irssi::settings_add_str($IRSSI{name}, 'scriptassist_script_sources', 'http://scr Irssi::settings_add_bool($IRSSI{name}, 'scriptassist_cache_sources', 1); Irssi::settings_add_bool($IRSSI{name}, 'scriptassist_update_verbose', 1); Irssi::settings_add_bool($IRSSI{name}, 'scriptassist_check_verbose', 1); -Irssi::settings_add_bool($IRSSI{name}, 'scriptassist_show_new_scripts', 1); +Irssi::settings_add_bool($IRSSI{name}, 'scriptassist_catch_script_errors', 1); Irssi::settings_add_bool($IRSSI{name}, 'scriptassist_install_unsigned_scripts', 1); Irssi::settings_add_bool($IRSSI{name}, 'scriptassist_use_gpg', 1); |