diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/core/os_clearmodes.c | 3 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,6 @@ Anope Version S V N ------------------- +05/06 F Segfault in os_clearmodes when chan had invites (+I) set. [#357] 05/06 F Identified founders are now logged out if the channel is dropped. [#364] 05/06 F Founders identified by pass can get founder chanmode again. [#358] 05/05 F Segfault in ns_maxemail when passing wrong param count. [ #00] diff --git a/src/core/os_clearmodes.c b/src/core/os_clearmodes.c index 50d92967c..68dab1555 100644 --- a/src/core/os_clearmodes.c +++ b/src/core/os_clearmodes.c @@ -321,6 +321,7 @@ int do_clearmodes(User * u) free(argv[1]); free(argv[0]); } + if (excepts) { free(excepts); } @@ -336,7 +337,7 @@ int do_clearmodes(User * u) for (i = 0; i < invitecount; i++) { argv[0] = sstrdup("-I"); - argv[1] = excepts[i]; + argv[1] = invites[i]; anope_cmd_mode(s_OperServ, c->name, "-I %s", argv[1]); chan_set_modes(s_OperServ, c, 2, argv, 0); free(argv[1]); diff --git a/version.log b/version.log index f807dbce0..18cadba85 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="9" -VERSION_BUILD="781" +VERSION_BUILD="782" # $Log$ # +# BUILD : 1.7.9 (782) +# BUGS : 357 +# NOTES : Fixed a segfault in os_clearmodes when clearing invites -- it used the exception list for the invite hosts, not the invite list, which is bad :) +# # BUILD : 1.7.9 (781) # BUGS : 358 364 # NOTES : Changed chan_set_correct_modes() to allow identified founders to get founder is SECUREFOUNDER is on. Added code in delchan() to logout people identified as founder to the channel dropped. |