From 597212d17a9f4b0a8aff7a2cb875408094f9a01f Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 5 Aug 2007 12:36:26 +0000 Subject: [PATCH] BUILD : 1.7.19 (1258) BUGS : 750 NOTES : Fixed CA_AUTODEOP not working anymore (since 1.7.9 or so probably) git-svn-id: svn://svn.anope.org/anope/trunk@1258 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@976 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/channels.c | 4 +++- version.log | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 675d10403..041857860 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,7 @@ Anope Version S V N 07/09 F Possible buffer overflow in inspircd10.c [#741] 07/09 F Various compile errors with `make strict`. [#743] 07/14 F No longer displaying commands on add/remove in debug mode 1. [ #00] +08/05 F ChanServ access level AUTODEOP works again. [#750] Anope Version 1.7.19 -------------------- diff --git a/src/channels.c b/src/channels.c index fd6c2e05a..20acc98ca 100644 --- a/src/channels.c +++ b/src/channels.c @@ -1352,8 +1352,10 @@ void chan_set_correct_modes(User * user, Channel * c, int give_modes) * 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 + * Or the user matches CA_AUTODEOP... -GD */ - if (((ci->flags & CI_SECUREOPS) || (c->usercount == 1)) + if (((ci->flags & CI_SECUREOPS) || (c->usercount == 1) + || check_access(user, ci, CA_AUTODEOP)) && !is_ulined(user->server->name)) { if (ircd->owner && (status & CUS_OWNER) && !is_founder(user, ci)) rem_modes |= CUS_OWNER; diff --git a/version.log b/version.log index ff726209d..d7aaa7431 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="19" VERSION_EXTRA="-svn" -VERSION_BUILD="1256" +VERSION_BUILD="1258" # $Log$ # +# BUILD : 1.7.19 (1258) +# BUGS : 750 +# NOTES : Fixed CA_AUTODEOP not working anymore (since 1.7.9 or so probably) +# # BUILD : 1.7.19 (1256) # BUGS : # NOTES : Moved the displaying of command infos on command add/remove to debug level 2 instead of 1