1
0
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:
Bram Matthys
2003-11-24 15:04:48 +00:00
parent e43e1e1799
commit 039a9753cd
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -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
View File
@@ -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;