summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-01 17:38:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-01 17:38:35 +0000
commit89a8a819facc3e6aed9c76cf21a6bb8096c1562f (patch)
treeb74ec2e035762205b83d54bac100fc7eb37ab29d /include
parent5515872a2349be06014282b09eb77cf012a76172 (diff)
New events for special. Event id's "new_server" and "lost_server". The data is a pointer to a char* containing the server name.
Eventally, i might expand this to include more data about the server such as its 'gecos' field etc, but not just yet. Let me know what data you want first. Event source is valid and will point at the protocol module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5623 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 014f729b0..1a56978a2 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -211,14 +211,6 @@ class InspIRCd : public classbase
/** Holds a string describing the last module error to occur
*/
char MODERR[MAXBUF];
-
- /** This is an internal flag used by the mainloop
- */
- bool expire_run;
-
- /** List of server names we've seen.
- */
- servernamelist servernames;
/** Remove a ModuleFactory pointer
* @param j Index number of the ModuleFactory to remove
@@ -348,6 +340,10 @@ class InspIRCd : public classbase
FileLogger* Logger;
public:
+ /** List of server names we've seen.
+ */
+ servernamelist servernames;
+
/** Time this ircd was booted
*/
time_t startup_time;