1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 09:12:22 -05:00

some formatting for exec

This commit is contained in:
Berke Viktor 2011-11-27 11:15:40 +01:00
parent 837557e9c7
commit d5dd1d3307

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");