mirror of
https://github.com/anope/anope.git
synced 2026-07-01 12:26:39 +02:00
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
This commit is contained in:
parent
dcb587f4ca
commit
ea554c0f00
@@ -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]
|
||||
|
||||
@@ -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]);
|
||||
|
||||
+5
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user