Fixed missing buffer name change

This commit is contained in:
Michiel Broek 2006-02-06 14:32:25 +00:00
parent 807a6b8f5d
commit 87d8893a85

View File

@ -454,7 +454,7 @@ void chat_connect_r(char *data, char *buf)
system_msg(tmpu->pid, temp); system_msg(tmpu->pid, temp);
snprintf(temp, 200, "Welcome to the Internet BBS Chat Network"); snprintf(temp, 200, "Welcome to the Internet BBS Chat Network");
system_msg(tmpu->pid, temp); system_msg(tmpu->pid, temp);
snprintf(buf, 200, "Current connected servers:"); snprintf(temp, 200, "Current connected servers:");
system_msg(tmpu->pid, temp); system_msg(tmpu->pid, temp);
for (sl = servers; sl; sl = sl->next) { for (sl = servers; sl; sl = sl->next) {
snprintf(temp, 200, " %s (%d user%s)", sl->fullname, sl->users, (sl->users == 1) ? "":"s"); snprintf(temp, 200, " %s (%d user%s)", sl->fullname, sl->users, (sl->users == 1) ? "":"s");