diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-06 06:27:38 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-06 06:27:38 +0000 |
commit | ea554c0f001e17abcd49827d1b4108a0ca229224 (patch) | |
tree | 89b68e3ebe94e46cc8a711dd026a00d2ecc3b449 | |
parent | dcb587f4ca47ba471e4f3f9ee2545fbeb82fa56f (diff) |
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 :)
git-svn-id: svn://svn.anope.org/anope/trunk@782 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@542 5417fbe8-f217-4b02-8779-1006273d7864
-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. |