aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-07-18 03:19:40 +0000
committerTom Feist <shabble@metavore.org>2011-07-18 03:19:40 +0000
commit6fd8460df07ddb82f0de33439db88177d2dc53c2 (patch)
tree852f84aabbf84ea2677b167eef42119f7790c3c6
parentbit more cleanup on get_format_string (diff)
downloadirssi-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 '')
-rw-r--r--feature-tests/getchan.pl2
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");
}