diff --git a/Changes b/Changes index 5d0cb6bcb..342715b25 100644 --- a/Changes +++ b/Changes @@ -838,4 +838,8 @@ Fixed bug where HCN would display exit client notices twice. --Luke =================================== +Modified it so people with override flag in O line can +dechanown, dechanprot people. +--Luke +=================================== diff --git a/src/channel.c b/src/channel.c index f32246629..78327e2df 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1724,7 +1724,7 @@ int do_mode_char(chptr, modetype, modechar, param, what, cptr, pcount, pvar, if (is_chanowner(member->value.cptr, chptr) && member->value.cptr != cptr && !is_chanowner(cptr, chptr) - && !IsNetAdmin(cptr) && (what == MODE_DEL)) + && !opermode && (what == MODE_DEL)) { if (MyClient(cptr)) { @@ -1739,7 +1739,7 @@ int do_mode_char(chptr, modetype, modechar, param, what, cptr, pcount, pvar, && member->value.cptr != cptr && !is_chanowner(cptr, chptr) && modetype != MODE_CHANOWNER && (what == MODE_DEL) - && !IsOper(cptr)) + && !opermode) { if (MyClient(cptr)) {