summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-16 12:30:05 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-16 12:30:05 +0200
commit046da7da9bf57ac9254f76fd1c43eadf1673cdf5 (patch)
treecd30abff939c02abc8ab1f9c9ef39afe79828c4c /include
parent4bdc173ee7802898ae46a09357e244210d4dd8e1 (diff)
Move typedef ClassVector to ServerConfig::ClassVector
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h4
-rw-r--r--include/typedefs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/configreader.h b/include/configreader.h
index f3b1f8b74..8615388d5 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -227,6 +227,10 @@ class CoreExport ServerConfig
std::string PrependModule(const std::string& fn) const { return FileSystem::ExpandPath(Module, fn); }
};
+ /** Holds a complete list of all connect blocks
+ */
+ typedef std::vector<reference<ConnectClass> > ClassVector;
+
/** Get a configuration tag
* @param tag The name of the tag to get
*/
diff --git a/include/typedefs.h b/include/typedefs.h
index bd236dc62..85d86504f 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -61,10 +61,6 @@ typedef intrusive_list<LocalUser> LocalUserList;
/** A list of failed port bindings, used for informational purposes on startup */
typedef std::vector<std::pair<std::string, std::string> > FailedPortList;
-/** Holds a complete list of all allow and deny tags from the configuration file (connection classes)
- */
-typedef std::vector<reference<ConnectClass> > ClassVector;
-
/** List of channels to consider when building the neighbor list of a user
*/
typedef std::vector<Membership*> IncludeChanList;