diff options
| author | 2022-10-21 18:04:04 +0200 | |
|---|---|---|
| committer | 2022-10-21 18:04:04 +0200 | |
| commit | 89d565caf938476488baebdb5b3cc4de42bf1779 (patch) | |
| tree | f0c0cf4895a3dc3904489d79d8e47f55be130aa0 | |
| parent | d1d01ed19ec530cf50b1ffc00cf218ac3c7c2c13 (diff) | |
This drops DBIx::Class as requirement otherwise.
| -rwxr-xr-x | meta.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,6 @@ use ASM::Services; use ASM::Log; use ASM::Commander; use ASM::Classes; -use ASM::DB; use ASM::Fifo; use ASM::Statsp; @@ -165,6 +164,7 @@ sub init { # compatibility with that. $dsn = sprintf 'DBI:mysql:database=%s;host=%s;port=%s', @{ $::mysql }{'db', 'host', 'port'}; } + require ASM::DB; $::db = ASM::DB->connect($dsn, $::mysql->{user}, $::mysql->{pass}); } $conn = $irc->newconn( Server => $host, |
