mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18: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
|
||||
}
|
||||
|
||||
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})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue