]> git.donarmstrong.com Git - infobot.git/blobdiff - src/db_mysql.pl
- I broke maths when I tried to fix "999!" - fixed :-)
[infobot.git] / src / db_mysql.pl
index eaeb9cd0063eaa75f798a628a072070897d1fae3..c51ef201ae0842c5d8568b3e6f54defbdccb3088 100644 (file)
@@ -18,6 +18,7 @@ sub openDB {
        &status("Opened MySQL connection to $param{'SQLHost'}");
     } else {
        &ERROR("cannot connect to $param{'SQLHost'}.");
+       &ERROR("since mysql is not available, shutting down bot!");
        &shutdown();
        &closePID();
        exit 1;