1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 18:23:12 +02:00

- Fixed minor /WALLOPS bug reported by Praetorian_ (#0001195).

This commit is contained in:
Bram Matthys
2003-08-16 16:11:52 +00:00
parent 57f337a738
commit fe63f8476a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2344,3 +2344,4 @@ seen. gmtime warning still there
needed atm since +F/+f both ignore U lines.
- Internal: changed 2 MyMalloc's to MyMallocEx (mem zerofill).. nothing was currently
affected by this but it's easy to forget if you add new stuff.
- Fixed minor /WALLOPS bug reported by Praetorian_ (#0001195).
+1 -1
View File
@@ -361,7 +361,7 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
#define IsWebTV(x) ((x)->umodes & UMODE_WEBTV)
#define IsPerson(x) ((x)->user && IsClient(x))
#define IsPrivileged(x) (IsAnOper(x) || IsServer(x))
#define SendWallops(x) (!IsMe(x) && ((x)->umodes & UMODE_WALLOP))
#define SendWallops(x) (!IsMe(x) && IsPerson(x) && ((x)->umodes & UMODE_WALLOP))
#define SendServNotice(x) (((x)->user) && ((x)->user->snomask & SNO_SNOTICE))
#define IsListening(x) ((x)->flags & FLAGS_LISTEN)
// #define DoAccess(x) ((x)->flags & FLAGS_CHKACCESS)