diff options
author | Adam <Adam@anope.org> | 2010-11-21 16:56:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:35:30 -0500 |
commit | c5eb349d41ecbc9c961ff2537d9f8985156ab476 (patch) | |
tree | ee4e35d302a77a980134d84934f77b57e69b0348 /src/channels.cpp | |
parent | 7790a7f98c56a16e6fed2bf51168881902880c62 (diff) |
Removed the AUTODEOP level, it is unnecessary now because of cs_mode
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 27d804c18..e303840e5 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -1183,8 +1183,8 @@ void chan_set_correct_modes(User *user, Channel *c, int give_modes) else if (voice && check_access(user, ci, CA_AUTOVOICE)) c->SetMode(NULL, CMODE_VOICE, user->nick); } - /* If this channel has secureops or the user matches autodeop or the channel is syncing and they are not ulined, check to remove modes */ - if ((ci->HasFlag(CI_SECUREOPS) || check_access(user, ci, CA_AUTODEOP) || c->HasFlag(CH_SYNCING)) && !user->server->IsULined()) + /* If this channel has secureops or the channel is syncing and they are not ulined, check to remove modes */ + if ((ci->HasFlag(CI_SECUREOPS) || c->HasFlag(CH_SYNCING)) && !user->server->IsULined()) { if (owner && c->HasUserStatus(user, CMODE_OWNER) && !check_access(user, ci, CA_FOUNDER)) c->RemoveMode(NULL, CMODE_OWNER, user->nick); |