From f43e9634d1ab2d729d4b6de7e486b437d1a35ff2 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Wed, 30 May 2018 11:49:28 -0700 Subject: [PATCH] better random numbers in IRCProtocol --- ircddb/IRCProtocol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ircddb/IRCProtocol.cpp b/ircddb/IRCProtocol.cpp index eb2837a..e85ba29 100644 --- a/ircddb/IRCProtocol.cpp +++ b/ircddb/IRCProtocol.cpp @@ -10,6 +10,7 @@ IRCProtocol::IRCProtocol(IRCApplication *app, const std::string &callsign, const std::string &password, const std::string &channel, const std::string &versionInfo) { + srand(time(NULL)); this->password = password; this->channel = channel; this->app = app;