diff options
-rw-r--r-- | mbbsd/cal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 5033dce8..47227508 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -228,7 +228,9 @@ osong(void) if (nsongs > 500) { delete_range(OSONGPATH "/.DIR", 1, nsongs - 500); } - log_user("OSONG: %s says \"%s\" to %s.", sender, say, receiver); + // log elsewhere... + snprintf(genbuf, sizeof(genbuf), "%s says \"%s\" to %s.", sender, say, receiver); + log_usies("OSONG", genbuf); /* 把第一首拿掉 */ vice(200, "點歌"); } |