]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd_io.h
Fixes to make this actually WORK.
[user/henk/code/inspircd.git] / include / inspircd_io.h
index c8dd1a11208afbc46afc6c0e07c0a5629f0bb69e..19fce08471e1fa31600ccb20e96061ffa9e6c2b8 100644 (file)
@@ -61,6 +61,10 @@ class ServerConfig : public classbase
         */
        std::string ConfProcess(char* buffer, long linenumber, std::stringstream* errorstream, bool &error, std::string filename);
 
+       /** Check that there is only one of each configuration item
+        */
+       bool CheckOnce(char* tag, bool bail, userrec* user);
+
   public:
 
        /** Holds the server name of the local server
@@ -278,6 +282,10 @@ class ServerConfig : public classbase
         */
        std::string logpath;
 
+       /** Custom version string, which if defined can replace the system info in VERSION.
+        */
+       char CustomVersion[MAXBUF];
+
        ServerConfig();
 
        /** Clears the include stack in preperation for