about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-05-20 20:51:43 +0100
committerJames Booth <boothj5@gmail.com>2013-05-20 20:51:43 +0100
commit6c4b81d0931540e618a132341ec32d19302be2c4 (patch)
tree3ef82bf95c44cea158eb9d18acb518fc2830fa70 /src/command
parent72b80974652097c12ad948e836313322a5fa18e2 (diff)
downloadprofani-tty-6c4b81d0931540e618a132341ec32d19302be2c4.tar.gz
Added jid autocompleter for /roster nick command
Diffstat (limited to 'src/command')
-rw-r--r--src/command/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 879a6290..163e5cc8 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -3236,7 +3236,7 @@ static void
 _roster_autocomplete(char *input, int *size)
 {
     if ((strncmp(input, "/roster nick ", 13) == 0) && (*size > 13)) {
-        _parameter_autocomplete(input, size, "/roster nick", roster_find_contact);
+        _parameter_autocomplete(input, size, "/roster nick", roster_find_jid);
     } else if ((strncmp(input, "/roster ", 8) == 0) && (*size > 8)) {
         _parameter_autocomplete_with_ac(input, size, "/roster", roster_ac);
     }