Fix regression with the /me command
Don't return an error if it works.
This commit is contained in:
parent
176aad5b3c
commit
27ef839725
|
@ -29,6 +29,7 @@ var commands = &CommandControl{
|
||||||
Function: func(client *Client, args []string) (string, error) {
|
Function: func(client *Client, args []string) (string, error) {
|
||||||
if len(args) != 0 {
|
if len(args) != 0 {
|
||||||
client.Me(strings.Join(args, " "))
|
client.Me(strings.Join(args, " "))
|
||||||
|
return "", nil
|
||||||
}
|
}
|
||||||
return "", fmt.Errorf("Missing a message")
|
return "", fmt.Errorf("Missing a message")
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue