diff --git a/Changes b/Changes index 3d167f5e6..8a1fcc496 100644 --- a/Changes +++ b/Changes @@ -2597,4 +2597,5 @@ seen. gmtime warning still there - Added beta19 release notes - Made USE_ZIP the default again in src/win32/unrealinst.iss - Changed version to beta19 +- A last-minute fix, omg... *** beta19 release *** diff --git a/src/send.c b/src/send.c index b16752f5e..402588936 100644 --- a/src/send.c +++ b/src/send.c @@ -39,6 +39,8 @@ static char sccsid[] = #endif #include +#define PREFIX_AQ_COMPAT + void vsendto_one(aClient *to, char *pattern, va_list vl); void sendbufto_one(aClient *to, char *msg, unsigned int quick); @@ -415,6 +417,10 @@ void sendto_channelprefix_butone(aClient *one, aClient *from, aChannel *chptr, goto good; if ((prefix & PREFIX_OP) && (lp->flags & CHFL_CHANOP)) goto good; +#ifdef PREFIX_AQ_COMPAT + if ((prefix & PREFIX_OP) && ((lp->flags & CHFL_CHANPROT) || (lp->flags & CHFL_CHANOWNER))) + goto good; +#endif #ifdef PREFIX_AQ if ((prefix & PREFIX_ADMIN) && (lp->flags & CHFL_CHANPROT)) goto good; @@ -505,6 +511,10 @@ void sendto_channelprefix_butone_tok(aClient *one, aClient *from, aChannel *chpt goto good; if ((prefix & PREFIX_OP) && (lp->flags & CHFL_CHANOP)) goto good; +#ifdef PREFIX_AQ_COMPAT + if ((prefix & PREFIX_OP) && ((lp->flags & CHFL_CHANPROT) || (lp->flags & CHFL_CHANOWNER))) + goto good; +#endif #ifdef PREFIX_AQ if ((prefix & PREFIX_ADMIN) && (lp->flags & CHFL_CHANPROT)) goto good;