1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Fix typo in KickError.Error.

This commit is contained in:
Juliusz Chroboczek 2021-08-24 00:04:30 +02:00
parent 475e36d884
commit 0d0a745aa3

View file

@ -38,7 +38,7 @@ type KickError struct {
func (err KickError) Error() string { func (err KickError) Error() string {
m := "kicked out" m := "kicked out"
if err.Message != "" { if err.Message != "" {
m += "(" + err.Message + ")" m += " (" + err.Message + ")"
} }
if err.Username != "" { if err.Username != "" {
m += " by " + err.Username m += " by " + err.Username