]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Terminate newserv when the noperserv database schema is out of date.
authorGunnar Beutner <redacted>
Wed, 7 Aug 2013 15:13:23 +0000 (17:13 +0200)
committerGunnar Beutner <redacted>
Wed, 7 Aug 2013 15:13:23 +0000 (17:13 +0200)
--HG--
branch : shroudnoperserv

control/control_db.c

index 6ebc0857fd8cf6dd1cb51dc1df5392c24b02d9ca..3aaee5243b1c6d32bc337a136eb6ce60b8090c3d 100644 (file)
@@ -50,7 +50,7 @@ void noperserv_load_users(const DBAPIResult *res, void *arg) {
   no_autheduser *nu;
 
   if(!res)
-    return;
+    Error("control", ERR_STOP, "Failed to load noperserv database. Your database might be corrupted or the schema is incompatible.");
 
   if(!res->success) {
     Error("noperserv", ERR_ERROR, "Error loading user list.");