some formatting for exec

This commit is contained in:
Berke Viktor 2011-11-27 11:15:40 +01:00
parent 837557e9c7
commit d5dd1d3307
1 changed files with 4 additions and 1 deletions

View File

@ -90,7 +90,10 @@ run_command (char *word[], char *word_eol[], void *userdata)
timeElapsed = difftime (time (0), start);
}
}
/* display a newline to separate things */
xchat_printf (ph, "\n");
if (timeElapsed >= 10)
{
xchat_printf (ph, "Command took too much time to run, execution aborted.\n");