diff --git a/src/chat/main/client.c b/src/chat/main/client.c index 33f31f9..f6ec690 100644 --- a/src/chat/main/client.c +++ b/src/chat/main/client.c @@ -75,6 +75,8 @@ why2_bool command(char *input, char *command, char **arg) } (*arg)[strlen(input) - strlen(full_cmd) - 2] = '\0'; //NULL TERM + + why2_trim_string(arg); } }