summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-05-30 16:00:39 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-05-30 16:00:39 +0000
commitc9cc03d3c7e6bc17edc147fe59af5f3fd33a051e (patch)
treec398559cdadd2dcfc37031aedae27cd2f60b4d8f
parent9a58bd1d98be041bb6161bf462ec4affccb64460 (diff)
- channel_mode.c:chm_operonly(): removed dead code
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3698 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--src/channel_mode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/channel_mode.c b/src/channel_mode.c
index 1df04a0..65ad9cb 100644
--- a/src/channel_mode.c
+++ b/src/channel_mode.c
@@ -629,8 +629,7 @@ chm_operonly(struct Client *client_p, struct Client *source_p, struct Channel *c
int parc, int *parn, char **parv, int *errors, int alev, int dir,
char c, unsigned int d)
{
- if ((alev < CHACCESS_HALFOP) ||
- ((d == MODE_PRIVATE) && (alev < CHACCESS_CHANOP)))
+ if (alev < CHACCESS_HALFOP)
{
if (!(*errors & SM_ERR_NOOPS))
sendto_one(source_p, form_str(alev == CHACCESS_NOTONCHAN ?