diff options
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r-- | src/inspircd_io.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index bb78c2c4b..f1f11d265 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -224,7 +224,7 @@ int EnumConf(std::stringstream *config, const char* tag) int ConfValueEnum(char* tag, std::stringstream* config) { - EnumConf(config,tag); + return EnumConf(config,tag); } @@ -347,6 +347,7 @@ int ReadConf(std::stringstream *config, const char* tag, const char* var, int in int ConfValue(char* tag, char* var, int index, char *result,std::stringstream *config) { ReadConf(config, tag, var, index, result); + return 0; } |