summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channel_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel_mode.c b/src/channel_mode.c
index 65ad9cb..1d057d2 100644
--- a/src/channel_mode.c
+++ b/src/channel_mode.c
@@ -629,7 +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)
+ if (alev < CHACCESS_CHANOP)
{
if (!(*errors & SM_ERR_NOOPS))
sendto_one(source_p, form_str(alev == CHACCESS_NOTONCHAN ?