]> jfr.im git - irc/quakenet/newserv.git/commitdiff
TRUSTS: require sqlite
authorChris Porter <redacted>
Sun, 17 Jan 2016 15:35:01 +0000 (15:35 +0000)
committerChris Porter <redacted>
Sun, 17 Jan 2016 15:35:01 +0000 (15:35 +0000)
--HG--
branch : chanserv-live

trusts/trusts_db.c

index 792c5fa3c8c2c18d276db2ad9a8d2819c47b44b9..1b04d3ee279ed1b4915a2b865aea02721964f01a 100644 (file)
@@ -197,7 +197,7 @@ static void loadgroups_fini(const DBAPIResult *result, void *tag) {
 
 static int trusts_connectdb(void) {
   if(!trustsdb) {
-    trustsdb = dbapi2open(NULL, "trusts");
+    trustsdb = dbapi2open("sqlite", "trusts");
     if(!trustsdb) {
       Error("trusts", ERR_WARNING, "Unable to connect to db -- not loaded.");
       return 0;