From 5e8f5bc39cb59cdca1182eed164c7d58470174e8 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Thu, 14 Oct 2010 21:58:18 +0100 Subject: prompt: uberprompt no longer applies abstract replaces on prompt format. --- prompt_info/uberprompt.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl index 82a294c..7b3e022 100644 --- a/prompt_info/uberprompt.pl +++ b/prompt_info/uberprompt.pl @@ -274,7 +274,8 @@ sub uberprompt_draw { my $prompt = ''; # rendered content of the prompt. my $theme = Irssi::current_theme; - $prompt = $theme->format_expand("{uberprompt $prompt_arg}"); + $prompt = $theme->format_expand + ("{uberprompt $prompt_arg}", Irssi::EXPAND_FLAG_IGNORE_REPLACES); if ($prompt_data_pos eq 'UP_ONLY') { $prompt =~ s/\$\$uber//; # no need for recursive prompting, I hope. -- cgit v1.2.3