From 0b2f810431cd1b763be7edf286f6a4bb238e7614 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 13 Apr 2014 01:20:36 +0100 Subject: [PATCH] Added bookmark autocomplete to /join Issue #194 --- src/command/command.c | 6 ++++++ 1 file changed, 6 insertions(+) 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)) {