summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mbbsd.c2
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);
}