summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-28 13:28:06 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-28 13:28:06 +0800
commit2286d34c1de78415e1b838cdc071d1d8c56ccd80 (patch)
tree28e5ff2d4270545951802ea2ce0d28b7c366a782 /mbbsd/edit.c
parent00c6a93e810cc0bac23af6edd59f3ce3b610fc4c (diff)
downloadpttbbs-2286d34c1de78415e1b838cdc071d1d8c56ccd80.tar
pttbbs-2286d34c1de78415e1b838cdc071d1d8c56ccd80.tar.gz
pttbbs-2286d34c1de78415e1b838cdc071d1d8c56ccd80.tar.bz2
pttbbs-2286d34c1de78415e1b838cdc071d1d8c56ccd80.tar.lz
pttbbs-2286d34c1de78415e1b838cdc071d1d8c56ccd80.tar.xz
pttbbs-2286d34c1de78415e1b838cdc071d1d8c56ccd80.tar.zst
pttbbs-2286d34c1de78415e1b838cdc071d1d8c56ccd80.zip
- allow all non-guest user to use myfav (PERM_BASIC)
- add GLOBAL_NEWBIE and GLOBAL_SYSOP to default fav (for new registered user, not empty fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index fc31619f..dded10a9 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1766,7 +1766,7 @@ write_file(char *fpath, int saveheader, int *islocal, char *mytitle, int upload)
}
else if (currstat == REEDIT
#ifndef ALL_REEDIT_LOG
- && strcmp(currboard, str_sysop) == 0
+ && strcmp(currboard, GLOBAL_SYSOP) == 0
#endif
) {
ptime = localtime4(&now);