mirror of
https://github.com/anope/anope.git
synced 2026-07-09 23:43:12 +02:00
BUILD : 1.7.5 (350) BUGS : NOTES : Changed mysql init checks so they are only done if mysql is enabled. Many Thanks to DrStein for the patch.
git-svn-id: svn://svn.anope.org/anope/trunk@350 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@226 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
6c710bb9df
commit
aa896a87ac
+1
-1
@@ -64,7 +64,7 @@ int db_mysql_init()
|
||||
* If missing disable MySQL to avoid any problems.
|
||||
*/
|
||||
|
||||
if (!MysqlName || !MysqlUser) {
|
||||
if ((do_mysql) && (!MysqlName || !MysqlUser)) {
|
||||
do_mysql = 0;
|
||||
alog("MySQL Error: Set all required configuration options.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user