From a1280e5d5737231d3a32df12c362dd0ae6a0c529 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Wed, 25 May 2011 05:46:23 +0100 Subject: rl_history_search: bugfix in uberprompt autoloading code - signal_remove attempting to remove a nonexistent handler. Thanks to Zed. --- history-search/rl_history_search.pl | 4 ++-- 1 file 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 " -- cgit v1.2.3