summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-07 05:31:14 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-07 05:31:14 +0000
commit87ecbec79dfc02abcaaf3ce2c04b848e968748da (patch)
treef4e36fe6682df24612fa5bdd3303f15928aca451 /src/misc.c
parent578da38d30893ca33cc1aa9183e4b82d67c831f3 (diff)
Remove all remaining uses of (My)SQL from the code.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2267 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/misc.c b/src/misc.c
index 591cd1181..b1ab62e32 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -882,9 +882,6 @@ void rand_init()
int n, fd;
#endif
struct {
-#ifdef USE_MYSQL
- int sqlrand;
-#endif
#ifndef _WIN32
struct timeval nowt; /* time */
char rnd[32]; /* /dev/urandom */
@@ -896,11 +893,6 @@ void rand_init()
arc4_init();
- /* Grab "random" MYSQL data */
-#ifdef USE_MYSQL
- rdat.sqlrand = mysql_rand();
-#endif
-
/* Grab OS specific "random" data */
#ifndef _WIN32
/* unix/bsd: time */