static char announceinvites[MAXBUF]; /* options:announceinvites setting */
errstr.clear();
+ include_stack.clear();
+
/* These tags MUST occur and must ONLY occur once in the config file */
static const char* Once[] = { "server", "admin", "files", "power", "options", NULL };
ServerInstance->Log(DEFAULT,"Done reading configuration file.");
+ /* Switch over logfiles */
+ ServerInstance->Logs->CloseLogs();
+ ServerInstance->Logs->OpenFileLogs();
+
/* If we're rehashing, let's load any new modules, and unload old ones
*/
if (!bail)
void ConfigReaderThread::Run()
{
- ServerInstance->Config->Read(true, NULL);
+ /* TODO: TheUser may be invalid by the time we get here! Check its validity, or pass a UID would be better */
+ ServerInstance->Config->Read(do_bail, TheUser);
}