diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-06 20:09:48 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-06 20:09:48 +0000 |
| commit | 9124a3be5347317918d9fb95991bdb2dd3818c99 (patch) | |
| tree | 59b726e2470328f56996a96b94fbc57e622c1edb /src/config.c | |
| parent | b462814760cb7c0830072275acc97291a9fb905b (diff) | |
Fixed windows build and cleaned up a few small things
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2736 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/config.c')
| -rw-r--r-- | src/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 07001aea9..0b654d433 100644 --- a/src/config.c +++ b/src/config.c @@ -1767,6 +1767,10 @@ int read_config(int reload) SetDefaultMLock(); + /* Disable the log channel if its defined in the conf, but not enabled */ + if (!Config.LogChannel && LogChan) + LogChan = false; + if (!retval) { printf ("\n*** Support resources: Read through the services.conf self-contained \n*** documentation. Read the documentation files found in the 'docs' \n*** folder. Visit our portal located at http://www.anope.org/. Join \n*** our support channel on /server irc.anope.org channel #anope.\n\n"); |
