summaryrefslogtreecommitdiff
path: root/proto/strfail.go
diff options
context:
space:
mode:
authorraven <citrons@mondecitronne.com>2025-10-22 16:28:22 -0500
committerraven <citrons@mondecitronne.com>2026-02-09 13:13:55 -0600
commitff0f6ba724748dbe340187fdd831a4d4f7f0ae5e (patch)
treeab27a0c9f40d803c2bf130ef7c82cdf6540e9018 /proto/strfail.go
parent4b54a1d11fd0fa355b244637612a3fd0af18c60c (diff)
passwords
Diffstat (limited to 'proto/strfail.go')
-rw-r--r--proto/strfail.go10
1 files changed, 8 insertions, 2 deletions
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 + ")"
}
}