summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index 1ea20a5c2..889709977 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -21,14 +21,16 @@
#include <map>
#include "inspstring.h"
+extern time_t TIME;
+
serverrec::serverrec()
{
strlcpy(name,"",256);
pingtime = 0;
- lastping = time(NULL);
+ lastping = TIME;
usercount_i = usercount = opercount = version = 0;
hops_away = 1;
- signon = time(NULL);
+ signon = TIME;
jupiter = false;
fd = 0;
sync_soon = false;
@@ -43,11 +45,11 @@ serverrec::~serverrec()
serverrec::serverrec(char* n, long ver, bool jupe)
{
strlcpy(name,n,256);
- lastping = time(NULL);
+ lastping = TIME;
usercount_i = usercount = opercount = 0;
version = ver;
hops_away = 1;
- signon = time(NULL);
+ signon = TIME;
jupiter = jupe;
fd = 0;
sync_soon = false;