1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 13:43:13 +02:00

Opers with v in O line flags can dechanown/dechanprot people

This commit is contained in:
luke
2003-04-06 00:31:18 +00:00
parent 29d7a0d07c
commit d14f1af650
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -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
===================================
+2 -2
View File
@@ -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))
{