From 4bc35b3870807886f1019cf52ad8e91d150774ef Mon Sep 17 00:00:00 2001 From: ptt Date: Thu, 13 Oct 2005 15:22:21 +0000 Subject: changes mailalert to 1 bit only. reserved other 7 trigers for updating current status on the fly when user is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/mailangel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/mailangel.c') diff --git a/util/mailangel.c b/util/mailangel.c index f873188c..93d9524b 100644 --- a/util/mailangel.c +++ b/util/mailangel.c @@ -46,7 +46,7 @@ int mailalertuser(char* userid) { userinfo_t *uentp=NULL; if (userid[0] && (uentp = search_ulist_userid(userid))) - uentp->mailalert=1; + uentp->alerts|=ALERT_NEW_MAIL; return 0; } -- cgit v1.2.3