summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta.pl b/meta.pl
index 60e5be7..9a8a48f 100755
--- a/meta.pl
+++ b/meta.pl
@@ -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,