diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-05 18:01:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-05 18:01:28 +0000 |
commit | 5cce62f7d799f073ea6ca1793328c08c2df7c3ff (patch) | |
tree | f7c83d3655893414643f252e9c4d83cbf5327ea3 /src/connection.cpp | |
parent | c720b1b6f234b8f8145ddeda6ef48b214091136a (diff) |
Major optimizations!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
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)); } |