mirror of
https://github.com/jech/galene.git
synced 2024-11-26 02:25:58 +01:00
Fix kickability.
This commit is contained in:
parent
6e84b641e6
commit
aeb8540ad4
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ func (client *Client) Close() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (client *Client) kick(message string) error {
|
func (client *Client) Kick(message string) error {
|
||||||
err := client.Close()
|
err := client.Close()
|
||||||
group.DelClient(client)
|
group.DelClient(client)
|
||||||
return err
|
return err
|
||||||
|
|
|
@ -909,7 +909,7 @@ func setPermissions(g *group.Group, id string, perm string) error {
|
||||||
return c.action(permissionsChangedAction{})
|
return c.action(permissionsChangedAction{})
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *webClient) kick(message string) error {
|
func (c *webClient) Kick(message string) error {
|
||||||
return c.action(kickAction{message})
|
return c.action(kickAction{message})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue