summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-16 22:05:24 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-16 22:05:24 +0000
commit26e99c667a5bfe4889333ae8b749752723ff8170 (patch)
treecc733ff6ff4dc83bc7f7c91640862a05b31fb769 /src
parent26bd7c0418651493c50040c769e7f94b13097283 (diff)
BUILD : 1.7.7 (543) BUGS : 276 NOTES : Disables UseRDB when MysqlSecure is enable, since we use one way encryption on the sql databases
git-svn-id: svn://svn.anope.org/anope/trunk@543 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@396 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 3d7bd962c..b0cad19db 100644
--- a/src/init.c
+++ b/src/init.c
@@ -556,6 +556,11 @@ int init(int ac, char **av)
UseRDB = 0;
alog("Error: Disabling UseRDB due to errors with SQL");
}
+ } else {
+ if (MysqlSecure && UseRDB) {
+ UseRDB = 0;
+ alog("Error: MySQL password are encrypted using method in MysqlSecure disabling UseRDB");
+ }
}
#endif