summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 17:26:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 17:26:30 +0000
commitb040f1c1a6b3140024a2eab0174415c0763ed6ae (patch)
tree38d09b749d99881279e2ceaf075631fdf3eb191f /include/modules.h
parentbd4c18aa1554e4fec0913b3c5f742080cbf0eab4 (diff)
Added preliminary support for ConfigReader::Verify at request of the slug :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@419 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 8f95e4e86..9b6bd0bd8 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -471,6 +471,10 @@ class ConfigReader : public classbase
* (such as comments) stripped from it.
*/
std::stringstream *cache;
+ /** Used to store errors
+ */
+ bool error;
+
public:
/** Default constructor.
* This constructor initialises the ConfigReader class to read the inspircd.conf file
@@ -498,7 +502,8 @@ class ConfigReader : public classbase
*/
int Enumerate(std::string tag);
/** Returns true if a config file is valid.
- * This method is unimplemented and will always return true.
+ * This method is partially implemented and will only return false if the config
+ * file does not exist or could not be opened.
*/
bool Verify();
};