mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
parent
f7daaf0953
commit
0b2f810431
@ -1835,6 +1835,12 @@ _join_autocomplete(char *input, int *size)
|
|||||||
gboolean result = FALSE;
|
gboolean result = FALSE;
|
||||||
|
|
||||||
input[*size] = '\0';
|
input[*size] = '\0';
|
||||||
|
|
||||||
|
found = autocomplete_param_with_func(input, size, "/join", bookmark_find);
|
||||||
|
if (found != NULL) {
|
||||||
|
return found;
|
||||||
|
}
|
||||||
|
|
||||||
gchar **args = parse_args(input, 2, 4, &result);
|
gchar **args = parse_args(input, 2, 4, &result);
|
||||||
|
|
||||||
if ((strncmp(input, "/join", 5) == 0) && (result == TRUE)) {
|
if ((strncmp(input, "/join", 5) == 0) && (result == TRUE)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user