From e0b0e08d25fd777407a6c5a38cd3171c66c626d1 Mon Sep 17 00:00:00 2001 From: "B.Greenham" Date: Wed, 28 Jul 2010 20:26:13 -0400 Subject: [PATCH] Fix a bug that allowed users to set forwards to channels they lack ops in (and not set forwards to channels they have ops in). --- src/chmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chmode.c b/src/chmode.c index 132d393..b1b1d45 100644 --- a/src/chmode.c +++ b/src/chmode.c @@ -1582,7 +1582,7 @@ chm_forward(struct Client *source_p, struct Channel *chptr, if(MyClient(source_p) && !(targptr->mode.mode & MODE_FREETARGET)) { if((msptr = find_channel_membership(targptr, source_p)) == NULL || - is_any_op(msptr)) + !is_any_op(msptr)) { if(IsOverride(source_p)) override = 1;