degesch: fix typo

This commit is contained in:
Přemysl Eric Janouch 2015-05-16 09:46:24 +02:00
parent 634d960c8d
commit bedbadd396
1 changed files with 2 additions and 2 deletions

View File

@ -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;