diff options
author | Tom Feist <shabble@metavore.org> | 2011-05-25 04:46:23 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-05-25 04:46:23 +0000 |
commit | a1280e5d5737231d3a32df12c362dd0ae6a0c529 (patch) | |
tree | 4a24bf08b2c4e9b0958862e57aa8bea617e3c7e2 /history-search | |
parent | tab_stop: added tab_stop, a bit of a rework of an old script to replace the (diff) | |
download | irssi-scripts-a1280e5d5737231d3a32df12c362dd0ae6a0c529.tar.gz irssi-scripts-a1280e5d5737231d3a32df12c362dd0ae6a0c529.zip |
rl_history_search: bugfix in uberprompt autoloading code - signal_remove
attempting to remove a nonexistent handler. Thanks to Zed.
Diffstat (limited to 'history-search')
-rw-r--r-- | history-search/rl_history_search.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/history-search/rl_history_search.pl b/history-search/rl_history_search.pl index 1ac0d6e..6773bd4 100644 --- a/history-search/rl_history_search.pl +++ b/history-search/rl_history_search.pl @@ -151,7 +151,7 @@ use Irssi; use Irssi::TextUI; use Data::Dumper; -our $VERSION = '2.5'; +our $VERSION = '2.6'; our %IRSSI = ( authors => 'Tom Feist, Wouter Coekaerts', @@ -210,7 +210,7 @@ if (not script_is_loaded('uberprompt')) { } sub load_uberprompt_failed { - Irssi::signal_remove('script error', 'load_prompt_failed'); + Irssi::signal_remove('script error', 'load_uberprompt_failed'); print "Script could not be loaded. Script cannot continue. " . "Check you have uberprompt.pl installed in your path and " |