summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/passwd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c
index 95e655a1..ac349654 100644
--- a/mbbsd/passwd.c
+++ b/mbbsd/passwd.c
@@ -117,10 +117,12 @@ passwd_update(int num, userec_t * buf)
write(pwdfd, buf, sizeof(userec_t));
close(pwdfd);
+#ifndef _BBS_UTIL_C_
if (latest_numposts != cuser.numposts) {
sendalert_uid(usernum, ALERT_PWD_POSTS);
latest_numposts = cuser.numposts;
}
+#endif
return 0;
}