From 5cce62f7d799f073ea6ca1793328c08c2df7c3ff Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 5 Apr 2005 18:01:28 +0000 Subject: Major optimizations! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/connection.cpp') 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 factory; extern int MODCOUNT; - +extern time_t TIME; connection::connection() { @@ -469,7 +469,6 @@ bool connection::RecvPacket(std::deque &messages, char* host) long connection::GenKey() { - srand(time(NULL)); return (random()*time(NULL)); } -- cgit v1.2.3