aboutsummaryrefslogtreecommitdiffstats
path: root/prompt_info
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--prompt_info/uberprompt.pl14
1 files changed, 1 insertions, 13 deletions
diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl
index 0581dd3..82a294c 100644
--- a/prompt_info/uberprompt.pl
+++ b/prompt_info/uberprompt.pl
@@ -142,19 +142,6 @@ my $prompt_format = '';
pre_init();
sub pre_init {
- # my $start_time = Irssi::parse_special('$F');
- # my $now = time();
- # my $delta = $now - $start_time;
-
- # print "Delta is $delta";
- # if ($delta < 2) {
- # print "starting a bit later";
- # Irssi::timeout_add_once(5000, \&init, undef);
- # } else {
- # print "starting immediately";
-
- # init();
- # }
Irssi::command('statusbar prompt reset');
init();
}
@@ -229,6 +216,7 @@ sub reload_settings {
$DEBUG_ENABLED = Irssi::settings_get_bool('uberprompt_debug');
my $new = Irssi::settings_get_str('uberprompt_format');
+
if ($prompt_format ne $new) {
print "Updated prompt format" if DEBUG;
$prompt_format = $new;