summaryrefslogtreecommitdiff
path: root/include/servers.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 13:29:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 13:29:38 +0000
commita8ddb6ccc27eac6db1f7457e998678aa07879513 (patch)
tree7172635b297e5a7fca2587d04d725eec7839cbf6 /include/servers.h
parentc5a01fa08eb78a786ca45ff32472eec4f3be88c6 (diff)
Added /map and /links
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@493 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/servers.h')
-rw-r--r--include/servers.h28
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();
};