diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/bot/bot-users.c | 1 | ||||
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 1 | ||||
-rw-r--r-- | src/irc/dcc/dcc-send.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/irc/bot/bot-users.c b/src/irc/bot/bot-users.c index 6c7a16e0..f9f6eae7 100644 --- a/src/irc/bot/bot-users.c +++ b/src/irc/bot/bot-users.c @@ -331,7 +331,6 @@ void botuser_set_password(USER_REC *user, const char *password) g_return_if_fail(user != NULL); g_return_if_fail(password != NULL); - srand(time(NULL)); salt[0] = rand()%20 + 'A'; salt[1] = rand()%20 + 'A'; salt[2] = '\0'; diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 58272d8a..bb44d4f2 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -515,7 +515,6 @@ static void cmd_dcc_chat(const char *data, IRC_SERVER_REC *server) signal_emit("dcc request send", 1, dcc); /* generate a random id */ - srand(time(NULL)); p_id = rand() % 64; dcc->pasv_id = p_id; diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c index 4c72b761..14d7d1e6 100644 --- a/src/irc/dcc/dcc-send.c +++ b/src/irc/dcc/dcc-send.c @@ -438,7 +438,6 @@ static int dcc_send_one_file(int queue, const char *target, const char *fname, /* Generate an ID for this send if using passive protocol */ if (passive) { - srand(time(NULL)); dcc->pasv_id = rand() % 64; } |