diff options
author | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-09-17 18:23:48 +0000 |
---|---|---|
committer | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-09-17 18:23:48 +0000 |
commit | aa896a87ac4705a5a8a26cbf5ddae2db3fc54c62 (patch) | |
tree | b06ccbdd1f52331afd61d533e435f01dbdfe74c1 /src/mysql.c | |
parent | 6c710bb9df84b74195f3ab6d45a8487ee7a68cce (diff) |
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
Diffstat (limited to 'src/mysql.c')
-rw-r--r-- | src/mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql.c b/src/mysql.c index 7be2b5d40..896eb9216 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -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."); } |