summaryrefslogtreecommitdiffstats
path: root/util/angel.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/angel.c')
-rw-r--r--util/angel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/angel.c b/util/angel.c
index 9e1f3880..e434a46b 100644
--- a/util/angel.c
+++ b/util/angel.c
@@ -107,7 +107,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;
}