1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge branch 'master' into plugins

This commit is contained in:
James Booth 2014-04-07 22:43:33 +01:00
commit bdc2eb0d91

View File

@ -191,7 +191,7 @@ prof_process_input(char *inp)
if (strlen(inp) == 0) { if (strlen(inp) == 0) {
result = TRUE; result = TRUE;
// habdle command if input starts with a '/' // handle command if input starts with a '/'
} else if (inp[0] == '/') { } else if (inp[0] == '/') {
char *inp_cpy = strdup(inp); char *inp_cpy = strdup(inp);
char *command = strtok(inp_cpy, " "); char *command = strtok(inp_cpy, " ");