aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-16 09:46:24 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-16 09:48:57 +0200
commitbedbadd396a6a7280d8d2843aa3cc4262954d8e4 (patch)
tree97b46e78dd04254b23369113944e6861cd131fba
parent634d960c8dd92e2983e7f351bbbfb8c28d999e3d (diff)
downloadxK-bedbadd396a6a7280d8d2843aa3cc4262954d8e4.tar.gz
xK-bedbadd396a6a7280d8d2843aa3cc4262954d8e4.tar.xz
xK-bedbadd396a6a7280d8d2843aa3cc4262954d8e4.zip
degesch: fix typo
-rw-r--r--degesch.c4
1 files 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;