Distinguish between no username and empty username.
This commit is contained in:
1 parent
a1c1345719
commit
aa53b78b2c
6 files changed
+66
-46
No files matched your search
@@ -101,7 +101,7 @@ func (client *Client) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (client *Client) Kick(id, user, message string) error {
|
||||
func (client *Client) Kick(id string, user *string, message string) error {
|
||||
err := client.Close()
|
||||
group.DelClient(client)
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user