(defaulted_query): Don't ask for confirmation if server

prefix is used.
This commit is contained in:
Nick Roberts
2009-08-06 08:19:58 +00:00
parent 78ad01c15f
commit a502cf95fe

View File

@@ -1436,8 +1436,8 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args)
}
/* Automatically answer the default value if the user did not want
prompts. */
if (! caution)
prompts or the command was issued with the server prefix. */
if (! caution || server_command)
return def_value;
/* If input isn't coming from the user directly, just say what