diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2021-09-11 10:18:53 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2021-09-11 10:18:53 +0200 |
commit | 83d208ed951018e5dbefe2d1e4d80dbedbab3cfb (patch) | |
tree | b38a4357b7f09d671eb346a626e870562d5beab2 /moderation.go | |
parent | ccec89bce62cbcb1c067b51509d11a8bee43f0f2 (diff) |
Revert "Prevent empty disconnect reasons"
This reverts commit ccec89bce62cbcb1c067b51509d11a8bee43f0f2.
Diffstat (limited to 'moderation.go')
-rw-r--r-- | moderation.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/moderation.go b/moderation.go index 4cb3e68..1500a6d 100644 --- a/moderation.go +++ b/moderation.go @@ -5,10 +5,6 @@ import "github.com/anon55555/mt" // Kick sends mt.ToCltDisco with the specified custom reason // and closes the ClientConn. func (cc *ClientConn) Kick(reason string) { - if reason == "" { - reason = "Kicked by proxy." - } - ack, _ := cc.SendCmd(&mt.ToCltDisco{ Reason: mt.Custom, Custom: reason, |