diff options
author | Adam <Adam@anope.org> | 2010-08-28 02:25:33 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-28 02:25:33 -0400 |
commit | 5fbe0c845c00161fd62e1f2f65354553f42ef831 (patch) | |
tree | 67e62259051b993d852cf45963e54b6854921c77 /src/init.cpp | |
parent | 2aac8b05ef7e539c9745edc1f64564ada87ca02d (diff) |
Clean up some of the old now unused IRCDVar struct vars, and made the logchan bots join if the IRCd requires them to
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp index 5b6d22445..94cf37ce9 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -54,8 +54,6 @@ void introduce_user(const Anope::string &user) /* Load MLock from the database now that we know what modes exist */ for (registered_channel_map::iterator it = RegisteredChannelList.begin(), it_end = RegisteredChannelList.end(); it != it_end; ++it) it->second->LoadMLock(); - /* Setup log chanels */ - InitLogChannels(Config); } } @@ -355,6 +353,9 @@ void Init(int ac, char **av) if (!Config->s_GlobalNoticer.empty()) new BotInfo(Config->s_GlobalNoticer, Config->ServiceUser, Config->ServiceHost, Config->desc_GlobalNoticer); + /* Init the log channels */ + InitLogChannels(Config); + /* Add Encryption Modules */ ModuleManager::LoadModuleList(Config->EncModuleList); @@ -404,7 +405,7 @@ void Init(int ac, char **av) write_pidfile(); /* Announce ourselves to the logfile. */ - Log() << "Anope " << Anope::Version() << " (ircd protocol: " << version_protocol << ") starting up" << (debug || readonly ? " (options:" : "") << (debug ? " debug" : "") << (readonly ? " readonly" : "") << (debug || readonly ? ")" : ""); + Log() << "Anope " << Anope::Version() << " (ircd protocol: " << ircd->name << ") starting up" << (debug || readonly ? " (options:" : "") << (debug ? " debug" : "") << (readonly ? " readonly" : "") << (debug || readonly ? ")" : ""); start_time = time(NULL); /* Set signal handlers. Catch certain signals to let us do things or |