diff options
Diffstat (limited to 'meta.pl')
| -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, |
