summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-16 12:32:47 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-16 12:32:47 +0200
commit7e0e54eba331339606265a8a4e11417bb2f832ba (patch)
tree42853fb81602676e3888c1c8dd95ca85ae34b2e0 /include
parent046da7da9bf57ac9254f76fd1c43eadf1673cdf5 (diff)
Move typedef OperIndex to ServerConfig::OperIndex
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h4
-rw-r--r--include/typedefs.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 8615388d5..f3137ec0a 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -231,6 +231,10 @@ class CoreExport ServerConfig
*/
typedef std::vector<reference<ConnectClass> > ClassVector;
+ /** Index of valid oper blocks and types
+ */
+ typedef std::map<std::string, reference<OperInfo> > OperIndex;
+
/** Get a configuration tag
* @param tag The name of the tag to get
*/
diff --git a/include/typedefs.h b/include/typedefs.h
index 85d86504f..8f9a64888 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -82,9 +82,6 @@ typedef ConfigDataHash::const_iterator ConfigIter;
/** Iterator pair, used for tag-name ranges */
typedef std::pair<ConfigIter,ConfigIter> ConfigTagList;
-/** Index of valid oper blocks and types */
-typedef std::map<std::string, reference<OperInfo> > OperIndex;
-
/** Files read by the configuration */
typedef std::map<std::string, file_cache> ConfigFileCache;