mirror of
https://github.com/anope/anope.git
synced 2026-07-07 23:23:13 +02:00
BUILD : 1.7.8 (661) BUGS : 341 342 NOTES : Fixed removing modes when users with insufficient rights entered a channel, and added a check to make sure the guestnick is not in use yet
git-svn-id: svn://svn.anope.org/anope/trunk@661 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@509 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
3209eb56ee
commit
c9b0122863
@@ -10,9 +10,10 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
|
||||
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
|
||||
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
|
||||
04/12 F Users channel modes are correctly set on join. [#342]
|
||||
04/11 F Make sure nick isn't in use on nickserv collide. [#341]
|
||||
04/07 F Added channel names to XOP/ACCESS/AKICK CLEAR [#346]
|
||||
04/07 F Only users with vHost/vIdent can /hostserv off [#351]
|
||||
04/07 F Make sure nick isn't in use on nickserv collide [#341]
|
||||
04/01 F Sync state for leaf-servers not updated correctly. [ #00]
|
||||
03/30 F ChanServ now sets topic again when channel is re-created. [#339]
|
||||
03/29 F Changed anoperc script to use kill numerics for compliance. [ #00]
|
||||
|
||||
+2
-4
@@ -1240,9 +1240,6 @@ void chan_set_correct_modes(User * user, Channel * c, int give_modes)
|
||||
if ((ci->flags & CI_VERBOTEN) || (*(c->name) == '+'))
|
||||
return;
|
||||
|
||||
if ((ci->flags & CI_SECURE) && !nick_identified(user))
|
||||
return;
|
||||
|
||||
status = chan_get_user_status(c, user);
|
||||
|
||||
if (debug >= 2)
|
||||
@@ -1268,8 +1265,9 @@ void chan_set_correct_modes(User * user, Channel * c, int give_modes)
|
||||
/* We check if every mode they have is legally acquired here, and remove
|
||||
* the modes that they're not allowed to have. But only if SECUREOPS is
|
||||
* on, because else every mode is legal. -GD
|
||||
* Unless the channel has just been created. -heinz
|
||||
*/
|
||||
if (ci->flags & CI_SECUREOPS) {
|
||||
if ((ci->flags & CI_SECUREOPS) || c->usercount == 1) {
|
||||
if (ircd->owner && (status & CUS_OWNER)
|
||||
&&
|
||||
!(((ci->flags & CI_SECUREFOUNDER) && is_real_founder(user, ci))
|
||||
|
||||
+2
-2
@@ -1763,8 +1763,8 @@ static void collide(NickAlias * na, int from_timeout)
|
||||
if (ircd->svsnick) {
|
||||
/* We need to make sure the guestnick is free -- heinz */
|
||||
do {
|
||||
snprintf(guestnick, sizeof(guestnick), "%s%d%d",
|
||||
NSGuestNickPrefix, getrandom32(), getrandom32());
|
||||
snprintf(guestnick, sizeof(guestnick), "%s%d",
|
||||
NSGuestNickPrefix, getrandom16());
|
||||
} while (finduser(guestnick));
|
||||
notice_lang(s_NickServ, na->u, FORCENICKCHANGE_CHANGING,
|
||||
guestnick);
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="8"
|
||||
VERSION_BUILD="660"
|
||||
VERSION_BUILD="661"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.8 (661)
|
||||
# BUGS : 341 342
|
||||
# NOTES : Fixed removing modes when users with insufficient rights entered a channel, and added a check to make sure the guestnick is not in use yet
|
||||
#
|
||||
# BUILD : 1.7.8 (660)
|
||||
# BUGS :
|
||||
# NOTES : Added .BANNER file for the Config script
|
||||
|
||||
Reference in New Issue
Block a user