summaryrefslogtreecommitdiff
path: root/src/common/configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/configuration.h')
-rw-r--r--src/common/configuration.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/configuration.h b/src/common/configuration.h
index dbb0a7d4..e7fe8edd 100644
--- a/src/common/configuration.h
+++ b/src/common/configuration.h
@@ -28,10 +28,12 @@ namespace Configuration
{
/**
* Loads the configuration options into memory.
- * @param filename path to the configuration file .
+ *
+ * @param filename path to the configuration file. When empty, the default
+ * config file 'manaserv.xml' is used.
* @return whether the configuration file could be read
*/
- bool initialize(const std::string &filename);
+ bool initialize(const std::string &fileName = std::string());
void deinitialize();