diff options
-rw-r--r-- | pttbbs/mbbsd/announce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/announce.c b/pttbbs/mbbsd/announce.c index eba42dab..b2534206 100644 --- a/pttbbs/mbbsd/announce.c +++ b/pttbbs/mbbsd/announce.c @@ -828,7 +828,7 @@ a_delete(menu_t * pm, const char *backup_dir) const char *bn = NULL; if (strstr(backup_dir, "/" BN_JUNK "/")) bn = BN_JUNK; - else if (strstr(backup, "/" BN_DELETED "/")) + else if (strstr(backup_dir, "/" BN_DELETED "/")) bn = BN_DELETED; if (bn) setbtotal(getbnum(bn)); |