Propagate kick originators.

This commit is contained in:
Juliusz Chroboczek
2020-11-30 16:26:11 +01:00
parent d98c9b95b2
commit 6e5348101c
4 changed files with 78 additions and 36 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ func (client *Client) Close() error {
return nil
}
func (client *Client) Kick(message string) error {
func (client *Client) Kick(id, user, message string) error {
err := client.Close()
group.DelClient(client)
return err