mirror of
https://github.com/anope/anope.git
synced 2026-07-06 12:53:14 +02:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user