diff options
author | Adam <Adam@anope.org> | 2012-02-14 15:13:27 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-14 15:13:27 -0500 |
commit | a9772cde21407c89abd161d51aff45267f87b1fb (patch) | |
tree | 9e57ba6c121d3843888917d968dd4f5d030b57cf /src/config.cpp | |
parent | 086790d6331357022f4da17c76b26b9fc6e2ad90 (diff) |
Clean up and reorganize our header files
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/config.cpp b/src/config.cpp index d35399896..784142556 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -12,6 +12,11 @@ #include "services.h" #include "config.h" #include "module.h" +#include "extern.h" +#include "bots.h" +#include "access.h" +#include "opertype.h" +#include "channels.h" /*************************************************************************/ @@ -510,7 +515,7 @@ bool InitUplinks(ServerConfig *config, const Anope::string &) { if (!config->Uplinks.empty()) { - std::vector<Uplink *>::iterator curr_uplink = config->Uplinks.begin(), end_uplink = config->Uplinks.end(); + std::vector<ServerConfig::Uplink *>::iterator curr_uplink = config->Uplinks.begin(), end_uplink = config->Uplinks.end(); for (; curr_uplink != end_uplink; ++curr_uplink) delete *curr_uplink; } @@ -535,7 +540,7 @@ static bool DoUplink(ServerConfig *config, const Anope::string &, const Anope::s if (!ValidateNotEmpty(config, "uplink", "password", vi_password)) throw ConfigException("One or more values in your configuration file failed to validate. Please see your log for more information."); // If we get here, all the values are valid, we'll add it to the Uplinks list - config->Uplinks.push_back(new Uplink(host, port, password, ipv6)); + config->Uplinks.push_back(new ServerConfig::Uplink(host, port, password, ipv6)); return true; } |