summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-11-16 00:51:33 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-11-16 00:51:33 +0800
commitfafe4c7e70de4e770f6bf7f42306957330aaadea (patch)
tree204c1a4906a4482104adf096a6f85d7efafc70c3 /include
parent419924bb39cc1d1ef0cecb4bd904e90c564cadfa (diff)
downloadpttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar
pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.gz
pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.bz2
pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.lz
pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.xz
pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.zst
pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.zip
PERMISSION can be changed even if the user is online.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h2
-rw-r--r--include/pttstruct.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h
index 8500fa98..a4e8dbf2 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -342,7 +342,7 @@ int x_love(void);
/* mail */
int load_mailalert(const char *userid);
-int mailalert(const char *userid);
+int sendalert(const char *userid, int alert);
int mail_muser(const userec_t muser, const char *title, const char *filename);
int mail_id(const char* id, const char *title, const char *filename, const char *owner);
int m_read(void);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 4cd92934..78882529 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -333,7 +333,7 @@ typedef struct msgque_t {
#define ALERT_NEW_MAIL 1
#define ISNEWMAIL(utmp) utmp->alerts & ALERT_NEW_MAIL
-#define ALERT_RELOAD_PASSWD 2
+#define ALERT_RELOAD_PERM 2
/* user data in shm */
/* use GAP to detect and avoid data overflow and overriding */