Changed welcome message

This commit is contained in:
Michiel Broek 2006-05-27 13:19:53 +00:00
parent 303775da7b
commit 4ccfda7422
2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,9 @@ v0.83.20 27-May-2006
mbmon: mbmon:
Fixed a text message. Fixed a text message.
mbtask:
Changed welcome message.
v0.83.19 23-May-2006 - 27-May-2006 v0.83.19 23-May-2006 - 27-May-2006

View File

@ -463,8 +463,8 @@ void chat_connect_r(char *data, char *buf)
system_msg(usr_list[i].pid, temp); system_msg(usr_list[i].pid, temp);
for (j = 0; j < MAXIBC_SRV; j++) { for (j = 0; j < MAXIBC_SRV; j++) {
if (strlen(srv_list[j].server)) { if (strlen(srv_list[j].server)) {
snprintf(temp, 200, " %s (%d user%s)", srv_list[j].fullname, snprintf(temp, 200, " %d user%s at '%s'",
srv_list[j].users, (srv_list[j].users == 1) ? "":"s"); srv_list[j].users, (srv_list[j].users == 1) ? " ":"s", srv_list[j].fullname);
system_msg(usr_list[i].pid, temp); system_msg(usr_list[i].pid, temp);
count += srv_list[j].users; count += srv_list[j].users;
} }