summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-30 02:13:39 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-30 02:13:39 +0800
commit6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c (patch)
tree8829f8b00e4343f8d8ea97606ce4e58ccb186034 /mbbsd/mail.c
parent4b2f5eeff9950ef1b7dd620d77efffc876aa76fa (diff)
downloadpttbbs-6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c.tar
pttbbs-6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c.tar.gz
pttbbs-6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c.tar.bz2
pttbbs-6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c.tar.lz
pttbbs-6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c.tar.xz
pttbbs-6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c.tar.zst
pttbbs-6c783cd8609ba2e65267eaa2cda8c46d7fc4ac8c.zip
change log_file()
log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 4e2b9389..053796a9 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1594,13 +1594,8 @@ doforward(char *direct, fileheader_t * fh, int mode)
refresh();
/* °lÂÜ¨Ï¥ÎªÌ */
- if (HAS_PERM(PERM_LOGUSER)) {
- char msg[200];
-
- snprintf(msg, sizeof(msg), "%s mailforward to %s at %s",
- cuser.userid, address, Cdate(&now));
- log_user(msg);
- }
+ if (HAS_PERM(PERM_LOGUSER))
+ log_user("mailforward to %s ",address);
if (mode == 'Z') {
snprintf(fname, sizeof(fname),
TAR_PATH " cfz /tmp/home.%s.tgz home/%c/%s; "