From e851de04da76b25d2a899b178ca8c2aa18448ab7 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Tue, 2 Jan 2024 23:47:24 +0100 Subject: [PATCH] ADD: more tests --- plugins/rcpt_mysql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/rcpt_mysql b/plugins/rcpt_mysql index a254a68..1d8bc46 100644 --- a/plugins/rcpt_mysql +++ b/plugins/rcpt_mysql @@ -95,7 +95,7 @@ sub tryToConnect $self->log(LOGDEBUG, "DSN try:" . $dsn); - my $dbh = DBI::connect($dsn, $user , $pass ); + my $dbh = DBI->connect($dsn, $user , $pass ); if ($dbh->err()) { @@ -218,7 +218,7 @@ sub askDatabase } my $dsn = $self->{dsn}; - my $dbh = DBI::connect($dsn, $self->{user}, $self->{pass}); + my $dbh = DBI->connect($dsn, $self->{user}, $self->{pass}); if ($dbh->err()) {