From 26c34ee399d3b3179c4c1c212c4e0d000bdb0016 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Sat, 16 Jul 2011 06:55:34 +0100 Subject: bit more cleanup on get_format_string --- feature-tests/getchan.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'feature-tests/getchan.pl') diff --git a/feature-tests/getchan.pl b/feature-tests/getchan.pl index 92044aa..7d4ee55 100644 --- a/feature-tests/getchan.pl +++ b/feature-tests/getchan.pl @@ -78,10 +78,7 @@ my @errors; my $state; sub get_format_string { - my ($module, $tag, $theme) = @_; - - $theme ||= Irssi::current_theme; - return $theme->get_format($module, $tag); + return Irssi::current_theme->get_format(@_); } -- cgit v1.2.3