mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +02:00
Fix bad copy paste in the test
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user