From fafe4c7e70de4e770f6bf7f42306957330aaadea Mon Sep 17 00:00:00 2001 From: ptt Date: Tue, 15 Nov 2005 16:51:33 +0000 Subject: 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 --- include/proto.h | 2 +- include/pttstruct.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3