summaryrefslogtreecommitdiff
path: root/src/servers.cpp
blob: 14d6f361532742ef35039ee57f119f5436d6add2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*


*/

#include "inspircd_config.h" 
#include "servers.h"
#include "inspircd.h"
#include <stdio.h>
#include <map>

serverrec::serverrec()
{
	strcpy(name,"");
	pingtime = 0;
	lastping = time(NULL);
	usercount_i = usercount = opercount = version = 0;
	hops_away = 1;
	signon = time(NULL);
	jupiter = false;
	fd = 0;
}

 
serverrec::~serverrec()
{
}

serverrec::serverrec(char* n, long ver, bool jupe)
{
	strcpy(name,n);
	lastping = time(NULL);
	usercount_i = usercount = opercount = 0;
	version = ver;
	hops_away = 1;
	signon = time(NULL);
	jupiter = jupe;
	fd = 0;
}