]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts2/trusts_db.c
trustscommands as seperate module
[irc/quakenet/newserv.git] / trusts2 / trusts_db.c
index 4d5a07b767f61032c20c8177536e473037ae65aa..ab162de0db89a43691e40eb0ba14f15d51cc7299 100644 (file)
@@ -226,6 +226,9 @@ void trusts_loadtrustblocks(DBConn *dbconn, void *arg) {
   Error("trusts",ERR_INFO,"Loaded %d trustblocks (highest ID was %lu)",rows,trusts_lasttrustblockid);
 
   dbclear(pgres);
+  
+  trusts_loaded = 1;
+  triggerhook(HOOK_TRUSTS_DBLOADED, NULL);
 }