diff options
author | Tom Feist <shabble@metavore.org> | 2011-07-18 03:19:40 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-07-18 03:19:40 +0000 |
commit | 6fd8460df07ddb82f0de33439db88177d2dc53c2 (patch) | |
tree | 852f84aabbf84ea2677b167eef42119f7790c3c6 /feature-tests | |
parent | bit more cleanup on get_format_string (diff) | |
download | irssi-scripts-6fd8460df07ddb82f0de33439db88177d2dc53c2.tar.gz irssi-scripts-6fd8460df07ddb82f0de33439db88177d2dc53c2.zip |
changed format reset to format delete for chansetup_footer, to properly restore it if unset to begin with
Diffstat (limited to 'feature-tests')
-rw-r--r-- | feature-tests/getchan.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/feature-tests/getchan.pl b/feature-tests/getchan.pl index 7d4ee55..acb1748 100644 --- a/feature-tests/getchan.pl +++ b/feature-tests/getchan.pl @@ -104,7 +104,7 @@ sub restore_formats { Irssi::command("^FORMAT chansetup_line $line_format"); Irssi::command("^FORMAT chansetup_header $head_format"); if ($foot_format =~ m/^\s*$/) { - Irssi::command("^FORMAT -reset chansetup_footer"); + Irssi::command("^FORMAT -delete chansetup_footer"); } else { Irssi::command("^FORMAT chansetup_footer $foot_format"); } |