summaryrefslogtreecommitdiffstats
path: root/mbbsd/record.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 02:11:33 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 02:11:33 +0800
commitba4849655123ccf17feb52aea447a4b52a114928 (patch)
treedba70d2d0dc7ef436c84892e77d6688eb866de01 /mbbsd/record.c
parenta87ab519a744439ff1ffd3627d83ed9ee3e7252a (diff)
downloadpttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.gz
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.bz2
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.lz
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.xz
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.zst
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.zip
- improve give_money process and red_envelop writing procedure.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r--mbbsd/record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c
index 1839a7d1..8618be63 100644
--- a/mbbsd/record.c
+++ b/mbbsd/record.c
@@ -397,9 +397,9 @@ set_safedel_fhdr(fileheader_t *fhdr)
}
else if ( strcmp(fhdr->owner, cuser.userid) == 0 )
{
- // i'm the one to delete it, or if the owner is corpse.
+ // i'm the one to delete it
snprintf(fhdr->title, sizeof(fhdr->title),
- "%s [%s]", STR_SAFEDEL_TITLE, cuser.userid);
+ "%s [%s]", STR_SAFEDEL_TITLE, fhdr->owner);
}
else // deleted by BM, system, SYSOP, or other services...
// maybe not revealing the names would be better.