diff options
Diffstat (limited to 'include/servers.h')
-rw-r--r-- | include/servers.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/servers.h b/include/servers.h index 876b54566..fc271b37e 100644 --- a/include/servers.h +++ b/include/servers.h @@ -17,25 +17,19 @@ class serverrec : public connection { private: - map<string, serverrec*> leaf; // list of child servers (leaves) public: char name[MAXBUF]; // server name - int pingtime; // last ping response (ms) - int linktype; // link type, LINK_ACTIVE or LINK_INACTIVE - time_t lastping; // time the link was last pinged + long pingtime; // last ping response (ms) long usercount_i; // invisible users on server long usercount; // non-invisible users on server long opercount; // opers on server - time_t connected_at; // time server was connected into the network - time_t hops_away; // number of hops away (for quick access) + int hops_away; // number of hops away (for quick access) long version; // ircd version bool jupiter; // is a JUPE server (faked to enforce a server ban) serverrec(); - serverrec(char* n, int link_t, long ver, bool jupe); + serverrec(char* n, long ver, bool jupe); ~serverrec(); - void AddLeaf(serverrec *child); - void DelLeaf(string n); }; |