]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Check for windows drive letters on the start of paths and treat them the same as...
[user/henk/code/inspircd.git] / include / configreader.h
index aea3555833169e2e5014983a2d13779884c8ac63..86191fa6d208327ff71601e19b7c91d06e155413 100644 (file)
@@ -681,6 +681,10 @@ class CoreExport ServerConfig : public Extensible
         */
        bool ReadFile(file_cache &F, const char* fname);
 
+       /* Returns true if the given string starts with a windows drive letter
+        */
+       bool StartsWithWindowsDriveLetter(const std::string &path);
+
        /** Report a configuration error given in errormessage.
         * @param bail If this is set to true, the error is sent to the console, and the program exits
         * @param user If this is set to a non-null value, and bail is false, the errors are spooled to