]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
Make error reporting work properly, it seemed to loose errors.
[user/henk/code/inspircd.git] / include / inspircd.h
index 984122a18ddf9eec2b5ff62f4d24091f7b224d38..d9918aa737087fd0b466d47e99936c59bcc6f544 100644 (file)
@@ -432,6 +432,8 @@ class InspIRCd : public classbase
 
  public:
 
+       std::map<InspSocket*,InspSocket*> SocketCull;
+
        /** Build the ISUPPORT string by triggering all modules On005Numeric events
         */
        void BuildISupport();
@@ -449,6 +451,10 @@ class InspIRCd : public classbase
         */
        time_t startup_time;
 
+       /** Config file pathname specified on the commandline or via ./configure
+        */
+       char ConfigFileName[MAXBUF];
+
        /** Mode handler, handles mode setting and removal
         */
        ModeParser* Modes;
@@ -1138,6 +1144,11 @@ class InspIRCd : public classbase
         */
        bool ULine(const char* server);
 
+       /** Returns true if the uline is 'silent' (doesnt generate
+        * remote connect notices etc).
+        */
+       bool SilentULine(const char* server);
+
        /** Returns the subversion revision ID of this ircd
         * @return The revision ID or an empty string
         */
@@ -1232,6 +1243,10 @@ class InspIRCd : public classbase
         */
        void ResetMaxBans();
 
+       /** Return a time_t as a human-readable string.
+        */
+       std::string TimeString(time_t curtime);
+
        /** Begin execution of the server.
         * NOTE: this function NEVER returns. Internally,
         * after performing some initialisation routines,