summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/strfail.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/strfail.go b/proto/strfail.go
index 83f314b..eb3d1c6 100644
--- a/proto/strfail.go
+++ b/proto/strfail.go
@@ -14,6 +14,8 @@ func Strfail(fail Object) string {
return "name is in use: " + fail.Fields[""]
case "invalid-name":
return "name is too long or contains invalid characters: " + fail.Fields[""]
+ case "too-long":
+ return "message or status is too long"
case "not-in-channel":
return "you are not a member of this channel: " + fail.Fields[""]
default: