aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/FICS/command.c b/FICS/command.c
index 1161cfd..a913f4d 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -1029,6 +1029,10 @@ process_prompt(int p, char *command)
retval = COM_OK;
break;
case COM_FAILED:
+ pprintf(p, "%s: Command has failed.\n", cmd);
+ retval = COM_OK;
+ pprintf(p, "%s", parray[p].prompt);
+ break;
case COM_BADCOMMAND:
pprintf(p, "%s: Command not found.\n", cmd);
retval = COM_OK;