Commit 0d0a745a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in KickError.Error.

parent 475e36d8
...@@ -38,7 +38,7 @@ type KickError struct { ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment