1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

Fix kickability.

This commit is contained in:
Juliusz Chroboczek 2020-09-18 14:12:51 +02:00
parent 6e84b641e6
commit aeb8540ad4
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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})
}