From 6fd8460df07ddb82f0de33439db88177d2dc53c2 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Mon, 18 Jul 2011 04:19:40 +0100 Subject: changed format reset to format delete for chansetup_footer, to properly restore it if unset to begin with --- feature-tests/getchan.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v1.2.3