diff options
author | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-06-10 00:08:49 +0000 |
---|---|---|
committer | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-06-10 00:08:49 +0000 |
commit | 1b30a95400341aaae613009f069feba930cc46e1 (patch) | |
tree | 37dd55ab53e65a2fd72872b9da80578804f3c17f | |
parent | dfad1f6a4de3ac832e94965bf0fec4e9c455445a (diff) |
BUILD : 1.7.3 (183) BUGS : 92 NOTES : Added check to see if MysqlName and MysqlUser were not null to avoid any problems.
git-svn-id: svn://svn.anope.org/anope/trunk@183 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@128 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | mysql.c | 9 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 15 insertions, 1 deletions
@@ -7,6 +7,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004 05/24 A New NSNickTracking directive to provide nick tracking. [ #71] 05/21 A Auto enforce upon AKICK addition. [ #63] 05/21 A New file docs/OLDCHANGES contains all change history. [ #65] +06/10 F Added check to see if MysqlUser and MysqlName were not null. [ #92] 06/09 F Corrected a number of spelling errors in en_us.l. [ #94] 06/09 F Corrected a large number of spelling and typing errors in docs. [ #87] 06/09 F Corrected compile warning for Hybrid support. [ #93] @@ -59,6 +59,15 @@ int db_mysql_init() alog("MySQL has been enabled."); } + /* The following configuration options are required. + * If missing disable MySQL to avoid any problems. + */ + + if (!MysqlName || !MysqlUser) { + do_mysql = 0; + alog("MySQL Error: Set all required configuration options."); + } + if (!db_mysql_open()) do_mysql = 0; diff --git a/version.log b/version.log index d20f9d620..e68ff64bf 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="3" -VERSION_BUILD="182" +VERSION_BUILD="183" # $Log$ # +# BUILD : 1.7.3 (183) +# BUGS : 92 +# NOTES : Added check to see if MysqlName and MysqlUser were not null to avoid any problems. +# # BUILD : 1.7.3 (182) # BUGS : 94 # NOTES : Fixed number of spelling errors in en_us.l. Thanks to Trystan for assisting corrections. |