summaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/config.h6
-rw-r--r--include/proto.h1
2 files changed, 6 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 6f461fbf..05ad02b9 100644
--- a/include/config.h
+++ b/include/config.h
@@ -41,12 +41,16 @@
#define GLOBAL_BUGREPORT "SYSOP"
#endif
+#ifndef GLOBAL_SYSOP
+#define "SYSOP"
+#endif
+
#ifndef GLOBAL_LAW
#define GLOBAL_LAW BBSMNAME "Law"
#endif
#ifndef GLOBAL_NEWBIE
-#define GLOBAL_NEWBIE BBSMNAME "NewHand"
+#define GLOBAL_NEWBIE BBSMNAME "Newhand"
#endif
#ifndef GLOBAL_NOTE
diff --git a/include/proto.h b/include/proto.h
index 916de0f4..f7a4467d 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -275,6 +275,7 @@ fav_t *get_fav_folder(fav_type_t *ft);
fav_t *get_fav_root(void);
int updatenewfav(int mode);
void subscribe_newfav(void);
+void reginit_fav(void);
/* file */
int file_count_line(const char *file);