From 1c9638a586a7aa5202381113b63b1f0ed844219f Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 11 Feb 2024 10:04:42 +0000 Subject: [PATCH] Fix bad copy paste in the test --- test/integration/tests/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/tests/core.cpp b/test/integration/tests/core.cpp index 64e93465..57353d75 100644 --- a/test/integration/tests/core.cpp +++ b/test/integration/tests/core.cpp @@ -613,7 +613,7 @@ TEST_P(AllLanguages, ServerDependentCapInModule) { use base 'ZNC::Module'; sub OnLoad { my $self = shift; - my $listen = $self->AddServerDependentCapability('testcap', sub { + $self->AddServerDependentCapability('testcap', sub { my ($net, $state) = @_; $self->PutModule('Server changed support: ' . ($state ? 'true' : 'false')); }, sub {