From ff0f6ba724748dbe340187fdd831a4d4f7f0ae5e Mon Sep 17 00:00:00 2001 From: raven Date: Wed, 22 Oct 2025 16:28:22 -0500 Subject: passwords --- proto/strfail.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'proto/strfail.go') diff --git a/proto/strfail.go b/proto/strfail.go index 1ce160c..477df1a 100644 --- a/proto/strfail.go +++ b/proto/strfail.go @@ -19,8 +19,14 @@ func Strfail(fail Object) string { case "not-in-channel": return "you are not a member of this channel: " + fail.Fields[""] case "bad-reply": - return "this is not a message you can reply to" + return "cannot reply to message (or message not found)" + case "incorrect-password": + return "incorrect username or password" + case "password-required": + return "you must log in with a password to do that" + case "bad-auth-id": + return "cannot login as this user (or user not found)" default: - return "unknown error" + return "unknown error (" + fail.Kind + ")" } } -- cgit v1.2.3