diff options
-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. |