diff options
author | James Booth <boothj5@gmail.com> | 2014-04-13 01:20:36 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-13 01:20:36 +0100 |
commit | 0b2f810431cd1b763be7edf286f6a4bb238e7614 (patch) | |
tree | 7f6144666dc1b0243b44e3c956ecf61e6d52ef51 /src | |
parent | f7daaf09538298e7548407a2c5f3c35232e98c66 (diff) | |
download | profani-tty-0b2f810431cd1b763be7edf286f6a4bb238e7614.tar.gz |
Added bookmark autocomplete to /join
Issue #194
Diffstat (limited to 'src')
-rw-r--r-- | src/command/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index c8d34c0d..d7cf67e3 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1835,6 +1835,12 @@ _join_autocomplete(char *input, int *size) gboolean result = FALSE; 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); if ((strncmp(input, "/join", 5) == 0) && (result == TRUE)) { |