]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
CPU Usage percent in stats z! yay!
[user/henk/code/inspircd.git] / include / configreader.h
index 2c048c849ba2598c4de2fb99e667a591db20d854..622c44d0d9ae61b8138c418c1afb437ec533a5ab 100644 (file)
@@ -453,6 +453,7 @@ class ServerConfig : public Extensible
         * modules.
         */
        std::string data005;
+       std::vector<std::string> isupport;
 
        /** STATS characters in this list are available
         * only to operators.
@@ -504,6 +505,14 @@ class ServerConfig : public Extensible
         */
        void ClearStack();
 
+       /** Update the 005 vector
+        */
+       void Update005();
+
+       /** Send the 005 numerics (ISUPPORT) to a user
+        */
+       void Send005(userrec* user);
+
        /** Read the entire configuration into memory
         * and initialize this class. All other methods
         * should be used only by the core.
@@ -564,7 +573,7 @@ class ServerConfig : public Extensible
        bool AddIOHook(int port, Module* iomod);
        bool DelIOHook(int port);
        Module* GetIOHook(InspSocket* is);
-       bool AddIOHook(InspSocket* is, Module* iomod);
+       bool AddIOHook(Module* iomod, InspSocket* is);
        bool DelIOHook(InspSocket* is);
 
        static std::string GetFullProgDir(char** argv, int argc);