diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 475e9ade5..4226a9d2f 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -35,7 +35,7 @@ extern std::vector<ircd_module*> factory; extern int MODCOUNT; - +extern time_t TIME; connection::connection() { @@ -469,7 +469,6 @@ bool connection::RecvPacket(std::deque<std::string> &messages, char* host) long connection::GenKey() { - srand(time(NULL)); return (random()*time(NULL)); } |