Commit aeb8540a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix kickability.

parent 6e84b641
......@@ -73,7 +73,7 @@ func (client *Client) Close() error {
return nil
}
func (client *Client) kick(message string) error {
func (client *Client) Kick(message string) error {
err := client.Close()
group.DelClient(client)
return err
......
......@@ -909,7 +909,7 @@ func setPermissions(g *group.Group, id string, perm string) error {
return c.action(permissionsChangedAction{})
}
func (c *webClient) kick(message string) error {
func (c *webClient) Kick(message string) error {
return c.action(kickAction{message})
}
......
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