diff --git a/degesch.c b/degesch.c index bf65326..d1faae4 100644 --- a/degesch.c +++ b/degesch.c @@ -4691,7 +4691,7 @@ try_handle_buffer_goto (struct app_context *ctx, const char *word) if (n > INT_MAX || !buffer_goto (ctx, n)) buffer_send_error (ctx, ctx->global_buffer, - "%s: %s", "no such buffer", word); + "%s: %s", "No such buffer", word); return true; } @@ -5150,7 +5150,7 @@ handle_command_part (struct app_context *ctx, char *arguments) // TODO: have a better way of checking if we're on the channel else if (!ctx->current_buffer->channel->users) buffer_send_error (ctx, ctx->current_buffer, - "%s: %s", "Can't join", "you're not on the channel"); + "%s: %s", "Can't part", "you're not on the channel"); else irc_send (s, "PART %s", ctx->current_buffer->channel->name); return true;