summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-04 21:24:33 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-04 21:24:33 +0800
commit63561c0e9333e5d72f54337b8df420fe2e2cdbd8 (patch)
treeda9860ab282e9d0d29f86e85487a4e84e3b62d1e
parent8ebd4ec688619339213673f257428c54f181df47 (diff)
downloadpttbbs-63561c0e9333e5d72f54337b8df420fe2e2cdbd8.tar
pttbbs-63561c0e9333e5d72f54337b8df420fe2e2cdbd8.tar.gz
pttbbs-63561c0e9333e5d72f54337b8df420fe2e2cdbd8.tar.bz2
pttbbs-63561c0e9333e5d72f54337b8df420fe2e2cdbd8.tar.lz
pttbbs-63561c0e9333e5d72f54337b8df420fe2e2cdbd8.tar.xz
pttbbs-63561c0e9333e5d72f54337b8df420fe2e2cdbd8.tar.zst
pttbbs-63561c0e9333e5d72f54337b8df420fe2e2cdbd8.zip
Add return type of completeboard_permission.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1462 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/name.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c
index 4466c462..0b58604e 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -670,6 +670,8 @@ completeboard_compar(int where, char *str, int len)
{
return strncasecmp(SHM->bsorted[0][where]->brdname, str, len);
}
+
+int
completeboard_permission(int where)
{
return (((currmode & MODE_MENU) || Ben_Perm(SHM->bsorted[0][where])) &&