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:
commit
bdc2eb0d91
@ -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, " ");
|
||||||
|
Loading…
Reference in New Issue
Block a user