mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 19:43:13 +02:00
- A last-minute fix, omg...
This commit is contained in:
@@ -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 ***
|
||||
|
||||
+10
@@ -39,6 +39,8 @@ static char sccsid[] =
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user