aboutsummaryrefslogtreecommitdiffstats
path: root/feature-tests
diff options
context:
space:
mode:
Diffstat (limited to 'feature-tests')
-rw-r--r--feature-tests/getchan.pl5
1 files changed, 1 insertions, 4 deletions
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(@_);
}