summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-24 02:03:59 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-24 02:03:59 +0800
commitf5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f (patch)
tree83f18dc2c47f41124173c62b05085fc7afd5af58 /mbbsd/stuff.c
parent06a4d437e91b3b0165b6eafbf7eaf736816fc27c (diff)
downloadpttbbs-f5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f.tar
pttbbs-f5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f.tar.gz
pttbbs-f5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f.tar.bz2
pttbbs-f5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f.tar.lz
pttbbs-f5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f.tar.xz
pttbbs-f5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f.tar.zst
pttbbs-f5abaaf78f6c5c6e3a4f99ff04835cdd7a06978f.zip
- fix: guests should not get announce sub-op, and sub-op should not have BM permission.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 03b05d3c..4cdae745 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -87,16 +87,6 @@ is_uBM(const char *list, const char *id)
}
int
-is_BM(const char *list)
-{
- if (is_uBM(list, cuser.userid)) {
- cuser.userlevel |= PERM_BM; /* Ptt 自動加上BM的權利 */
- return 1;
- }
- return 0;
-}
-
-int
userid_is_BM(const char *userid, const char *list)
{
register int ch, len;