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)
{
strcat(tmp, uhub_itoa((int) d));
strcat(tmp, " day");
if (d != 1) strcat(tmp, "s");
strcat(tmp, ", ");
strcat(tmp, uhub_itoa((int) d));
strcat(tmp, " day");
if (d != 1) strcat(tmp, "s");
strcat(tmp, ", ");
}
if (h < 10) strcat(tmp, "0");
strcat(tmp, uhub_itoa((int) h));
strcat(tmp, uhub_itoa((int) h));
strcat(tmp, ":");
if (m < 10) strcat(tmp, "0");
strcat(tmp, uhub_itoa((int) m));
strcat(tmp, uhub_itoa((int) m));
send_message(user, tmp);
return 0;