diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 18:10:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 18:10:27 +0000 |
commit | 498a8eb5c38c86d41c088c8c1308b3520c993c7f (patch) | |
tree | fbbbb977c9aa8eaa685d20984ce0776e5b521b7b /src/modules.cpp | |
parent | 9be94a9a9cf3a7946171994c97bcf4041dd8dd48 (diff) |
Added ConfigReader::EnumValues() (requested by Craig)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@456 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index bbea0d412..93e2d7850 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -349,6 +349,10 @@ int ConfigReader::Enumerate(std::string tag) return EnumConf(cache,tag.c_str()); } +int ConfigReader::EnumerateValues(std::string tag, int index) +{ + return EnumValues(cache, tag.c_str(), index); +} bool ConfigReader::Verify() { |