From bedbadd396a6a7280d8d2843aa3cc4262954d8e4 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 16 May 2015 09:46:24 +0200
Subject: degesch: fix typo
---
degesch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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;
--
cgit v1.2.3-70-g09d2