Reindented code.

This commit is contained in:
Jan Vidar Krey 2009-03-19 01:01:36 +01:00
parent 3bb563b432
commit e2ac690164

View File

@ -89,17 +89,17 @@ static int command_uptime(struct user* user, const char* message)
if (d) if (d)
{ {
strcat(tmp, uhub_itoa((int) d)); strcat(tmp, uhub_itoa((int) d));
strcat(tmp, " day"); strcat(tmp, " day");
if (d != 1) strcat(tmp, "s"); if (d != 1) strcat(tmp, "s");
strcat(tmp, ", "); strcat(tmp, ", ");
} }
if (h < 10) strcat(tmp, "0"); if (h < 10) strcat(tmp, "0");
strcat(tmp, uhub_itoa((int) h)); strcat(tmp, uhub_itoa((int) h));
strcat(tmp, ":"); strcat(tmp, ":");
if (m < 10) strcat(tmp, "0"); if (m < 10) strcat(tmp, "0");
strcat(tmp, uhub_itoa((int) m)); strcat(tmp, uhub_itoa((int) m));
send_message(user, tmp); send_message(user, tmp);
return 0; return 0;