]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/flags.h
This is a major bugfix for several mistakes made in coding that were
[irc/gameservirc.git] / gameserv / flags.h
index 8b81a180987e593f1a5a239b5ecd0fac94ba1782..fa707921fef6c7a8b6b4c9ba839a3ad7ef09e1c7 100644 (file)
 #define CFLAG_USEPRIVMSG               0x00000002
 #define CFLAG_BOPER                    0x00000004
 #define CFLAG_WELCOME                  0x00000008
+#define CFLAG_SAVEDNOTICE              0x00000010
+
+#define setSavedNotice()               (configflags |= CFLAG_SAVEDNOTICE)
+#define clearSavedNotice()             (configflags &= ~CFLAG_SAVEDNOTICE)
+#define isSavedNotice()                        (configflags & CFLAG_SAVEDNOTICE)
 
 #define setWelcome()                   (configflags |= CFLAG_WELCOME)
 #define clearWelcome()                 (configflags &= ~CFLAG_WELCOME)