diff --git a/src/main.c b/src/main.c index 1527406bb..6d221a7f8 100644 --- a/src/main.c +++ b/src/main.c @@ -1001,7 +1001,7 @@ static void init_random(void) { int main(int arg_c, char **arg_v) { - int i, xx; + int i, j, xx; char s[25]; FILE *f; struct sigaction sv; @@ -1136,8 +1136,9 @@ int main(int arg_c, char **arg_v) i = 0; for (chan = chanset; chan; chan = chan->next) i++; - putlog(LOG_MISC, "*", "=== %s: %d channels, %d users.", - botnetnick, i, count_users(userlist)); + j = count_users(userlist); + putlog(LOG_MISC, "*", "=== %s: %d channel%s, %d user%s.", + botnetnick, i, (i == 1) ? "" : "s", j, (j == 1) ? "" : "s"); if ((cliflags & CLI_N) && (cliflags & CLI_T)) { printf("\n"); printf("NOTE: The -n flag is no longer used, it is as effective as Han\n");