aboutsummaryrefslogtreecommitdiff
path: root/chatcommands.go
diff options
context:
space:
mode:
Diffstat (limited to 'chatcommands.go')
-rw-r--r--chatcommands.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/chatcommands.go b/chatcommands.go
index 69db654..7aa25ae 100644
--- a/chatcommands.go
+++ b/chatcommands.go
@@ -318,10 +318,11 @@ func init() {
return "Usage: kick <name> [reason]"
}
- reason := "Kicked by proxy."
+ reason := "Kicked by proxy. "
if len(args) >= 2 {
- reason = strings.Join(args[1:], " ")
+ reason += strings.Join(args[1:], " ")
}
+ reason = strings.Trim(reason, " ")
clt := proxy.Find(args[0])
if clt == nil {