diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-16 18:20:15 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-16 18:20:15 +0800 |
commit | 97b26dd92cdd0f51051dd2762c2584db77273191 (patch) | |
tree | 77ca0241d8c3adcc5aeba43582f1696cbeafb289 /include | |
parent | e04cae0836e65a13d3ea8166df4b291aafaa4f53 (diff) | |
download | pttbbs-97b26dd92cdd0f51051dd2762c2584db77273191.tar pttbbs-97b26dd92cdd0f51051dd2762c2584db77273191.tar.gz pttbbs-97b26dd92cdd0f51051dd2762c2584db77273191.tar.bz2 pttbbs-97b26dd92cdd0f51051dd2762c2584db77273191.tar.lz pttbbs-97b26dd92cdd0f51051dd2762c2584db77273191.tar.xz pttbbs-97b26dd92cdd0f51051dd2762c2584db77273191.tar.zst pttbbs-97b26dd92cdd0f51051dd2762c2584db77273191.zip |
Post and money update:
* no money for posts on boards without BM
* BM and self deleting posts decrease number of posts regardless of login
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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) |