Fix regression with the /me command

Don't return an error if it works.
This commit is contained in:
Zorchenhimer 2019-04-11 21:50:31 -04:00
parent 176aad5b3c
commit 27ef839725
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ var commands = &CommandControl{
Function: func(client *Client, args []string) (string, error) {
if len(args) != 0 {
client.Me(strings.Join(args, " "))
return "", nil
}
return "", fmt.Errorf("Missing a message")
},