diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/init.c | 11 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 10 insertions, 8 deletions
@@ -37,6 +37,7 @@ Anope Version S V N 02/11 F Fixed memory leak in cs_akick(). [#870] 02/11 F Added missed debug message when HostServ is disabled. [#863] 02/12 F rdb_close() where rdb_open() is used in rdb_dbase() functions. [#862] +02/12 F Removed extra loop when parsing defcon modes. [#867] Provided by Trystan <trystan@nomadirc.net> - 2008 02/11 F Last part of memory leak in cs_akick() [#870] diff --git a/src/init.c b/src/init.c index a57ff0dd0..e1e005aa6 100644 --- a/src/init.c +++ b/src/init.c @@ -483,13 +483,10 @@ int init_secondary(int ac, char **av) /* Parse the defcon mode string if needed */ if (DefConLevel) { - int defconCount; - for (defconCount = 1; defconCount <= 5; defconCount++) { - if (!defconParseModeString(DefConChanModes)) { - fprintf(stderr, - "services.conf: The given DefConChanModes mode string was incorrect (see log for exact errors)\n"); - return -1; - } + if (!defconParseModeString(DefConChanModes)) { + fprintf(stderr, + "services.conf: The given DefConChanModes mode string was incorrect (see log for exact errors)\n"); + return -1; } } #ifndef _WIN32 diff --git a/version.log b/version.log index c6b11ff43..f7ff72ce2 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="21" VERSION_EXTRA="-svn" -VERSION_BUILD="1385" +VERSION_BUILD="1386" # $Log$ # +# BUILD : 1.7.21 (1386) +# BUGS : 867 +# NOTES : Removed extra loop when parsing defcon modes. +# # BUILD : 1.7.21 (1385) # BUGS : 862 # NOTES : rdb_close() where rdb_open() is used in rdb_dbase() functions. |