diff options
Diffstat (limited to 'include/servers.h')
-rw-r--r-- | include/servers.h | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/include/servers.h b/include/servers.h index 9bf16defc..dfb3a8ef8 100644 --- a/include/servers.h +++ b/include/servers.h @@ -20,39 +20,43 @@ class serverrec : public connection { private: public: - /** server name - */ + /** server name + */ char name[MAXBUF]; /** last ping response (ms) - */ + */ long pingtime; /** invisible users on server - */ + */ long usercount_i; /** non-invisible users on server - */ + */ long usercount; /** opers on server - */ + */ long opercount; /** number of hops away (for quick access) - */ + */ int hops_away; /** ircd version - */ + */ long version; /** is a JUPE server (faked to enforce a server ban) - */ + */ bool jupiter; + + /** Description of the server + */ + char description[MAXBUF]; /** Constructor - */ + */ serverrec(); /** Constructor which initialises some of the main variables - */ + */ serverrec(char* n, long ver, bool jupe); /** Destructor - */ + */ ~serverrec(); }; |