diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 1 | ||||
-rw-r--r-- | include/pttstruct.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h index ff7d4bcb..5ae70d75 100644 --- a/include/proto.h +++ b/include/proto.h @@ -351,6 +351,7 @@ int x_love(void); /* mail */ int load_mailalert(const char *userid); int sendalert(const char *userid, int alert); +int sendalert_uid(int uid, int alert); int mail_muser(const userec_t muser, const char *title, const char *filename); int mail_log2id(const char *id, const char *title, const char *srcfile, const char *owner, char newmail, char trymove); int mail_id(const char* id, const char *title, const char *filename, const char *owner); diff --git a/include/pttstruct.h b/include/pttstruct.h index 74c61199..ea6cf302 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -310,9 +310,9 @@ typedef struct msgque_t { #define ALERT_PWD_GOODPOST (0x08) #define ALERT_PWD_JUSTIFY (0x10) // #define ALERT_PWD_LOGINS (0x20) -// #define ALERT_PWD_POSTS (0x40) +#define ALERT_PWD_POSTS (0x40) #define ALERT_PWD_RELOAD (0x80) // reload entire pwd -#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST|ALERT_PWD_GOODPOST|ALERT_PWD_JUSTIFY|ALERT_PWD_RELOAD) +#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST|ALERT_PWD_GOODPOST|ALERT_PWD_JUSTIFY|ALERT_PWD_POSTS|ALERT_PWD_RELOAD) // userinfo_t.angelpause values #define ANGELPAUSE_NONE (0) // reject none (accept all) |