aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-10-15 20:12:09 +0000
committerTom Feist <shabble@metavore.org>2010-10-15 20:12:09 +0000
commit313202980a4c801c28891730fc7e815a3540db18 (patch)
treec5a28669cbbb13ba3397a046c2420b44e0ccfcc3
parentuberprompt: added uberprompt_use_replaces setting (default off) to allow replace (diff)
downloadirssi-scripts-313202980a4c801c28891730fc7e815a3540db18.tar.gz
irssi-scripts-313202980a4c801c28891730fc7e815a3540db18.zip
uberprompt: oops, got the setting backwards. On enables replaces now.
-rw-r--r--prompt_info/uberprompt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl
index cdb80ce..4d95b06 100644
--- a/prompt_info/uberprompt.pl
+++ b/prompt_info/uberprompt.pl
@@ -297,7 +297,7 @@ sub uberprompt_draw {
my $prompt = ''; # rendered content of the prompt.
my $theme = Irssi::current_theme;
- my $arg = $use_replaces ? Irssi::EXPAND_FLAG_IGNORE_REPLACES : 0;
+ my $arg = $use_replaces ? 0 : Irssi::EXPAND_FLAG_IGNORE_REPLACES;
$prompt = $theme->format_expand("{uberprompt $prompt_arg}", $arg);
if ($prompt_data_pos eq 'UP_ONLY') {