X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/c8117c0f735f1367f9537e6fb414cd3e77c73c39..451df086ac3cadf256173808e1ee8861bdf7611f:/gameserv/flags.h diff --git a/gameserv/flags.h b/gameserv/flags.h index 8b81a18..833fbd6 100644 --- a/gameserv/flags.h +++ b/gameserv/flags.h @@ -44,6 +44,16 @@ #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)