diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-18 11:15:13 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-18 11:15:13 +0800 |
commit | e89db4fe4cc15f85de1da9b1b65fc87a77a0c594 (patch) | |
tree | 891989c51b350eccb7cc0df62f8ca730776b2153 /mbbsd | |
parent | 5f07cf0503a3f8f39cb11688ebb3ba73032c6d50 (diff) | |
download | pttbbs-e89db4fe4cc15f85de1da9b1b65fc87a77a0c594.tar pttbbs-e89db4fe4cc15f85de1da9b1b65fc87a77a0c594.tar.gz pttbbs-e89db4fe4cc15f85de1da9b1b65fc87a77a0c594.tar.bz2 pttbbs-e89db4fe4cc15f85de1da9b1b65fc87a77a0c594.tar.lz pttbbs-e89db4fe4cc15f85de1da9b1b65fc87a77a0c594.tar.xz pttbbs-e89db4fe4cc15f85de1da9b1b65fc87a77a0c594.tar.zst pttbbs-e89db4fe4cc15f85de1da9b1b65fc87a77a0c594.zip |
fix if cuser == NULL
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/mbbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 7f2eeb01..f2e8e095 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -126,7 +126,7 @@ log_usies(char *mode, char *mesg) log_file(FN_USIES, genbuf, 1); /* °lÂÜ¨Ï¥ÎªÌ */ - if (HAS_PERM(PERM_LOGUSER)) + if (cuser && HAS_PERM(PERM_LOGUSER)) log_user(genbuf); } |