]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/flags.h
removed currentdragon.dat
[irc/gameservirc.git] / gameserv / flags.h
index 8b81a180987e593f1a5a239b5ecd0fac94ba1782..833fbd649e2077d49a52e7c527be183156fb91f5 100644 (file)
 #define CFLAG_USEPRIVMSG               0x00000002
 #define CFLAG_BOPER                    0x00000004
 #define CFLAG_WELCOME                  0x00000008
+#define CFLAG_SAVEDNOTICE              0x00000010
+#define CFLAG_USENICKSERV              0x00000020
+
+#define setUseNickServ()               (configflags |= CFLAG_USENICKSERV)
+#define clearUseNickServ()             (configflags &= ~CFLAG_USENICKSERV)
+#define isUseNickServ()                        (configflags & CFLAG_USENICKSERV)
+
+#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)