degesch: little fixes
This commit is contained in:
parent
864be7cfc5
commit
950d64d229
@ -2066,7 +2066,7 @@ make_prompt (struct app_context *ctx, struct str *output)
|
|||||||
if (buffer != ctx->global_buffer)
|
if (buffer != ctx->global_buffer)
|
||||||
{
|
{
|
||||||
str_append_c (output, ' ');
|
str_append_c (output, ' ');
|
||||||
if (!ctx->irc_fd == -1)
|
if (ctx->irc_fd == -1)
|
||||||
str_append (output, "(disconnected)");
|
str_append (output, "(disconnected)");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -3167,7 +3167,7 @@ handle_command_quote (struct app_context *ctx, char *arguments)
|
|||||||
if (!server_command_check (ctx, "quote"))
|
if (!server_command_check (ctx, "quote"))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
irc_send (ctx, arguments);
|
irc_send (ctx, "%s", arguments);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user