summaryrefslogtreecommitdiffstats
path: root/util/mailangel.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/mailangel.c')
-rw-r--r--util/mailangel.c2
1 files changed, 1 insertions, 1 deletions
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;
}