about summary refs log tree commit diff stats
path: root/src/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-12-02 01:29:42 +0000
committerJames Booth <boothj5@gmail.com>2012-12-02 01:29:42 +0000
commit6826a66f8506d763d30bcf8e54147efbf5e8050c (patch)
tree8179299e486473f12312123815d37dd5b6c80528 /src/command.c
parent30e4786180047d6b8fc97ee3c4e18b62f8b0d6b0 (diff)
downloadprofani-tty-6826a66f8506d763d30bcf8e54147efbf5e8050c.tar.gz
Moved logins to accounts module
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 86cf58fc..68f43648 100644
--- a/src/command.c
+++ b/src/command.c
@@ -27,6 +27,7 @@
 
 #include <glib.h>
 
+#include "accounts.h"
 #include "chat_session.h"
 #include "command.h"
 #include "common.h"
@@ -761,7 +762,7 @@ void
 cmd_reset_autocomplete()
 {
     contact_list_reset_search_attempts();
-    prefs_reset_login_search();
+    accounts_reset_login_search();
     prefs_reset_boolean_choice();
     p_autocomplete_reset(help_ac);
     p_autocomplete_reset(notify_ac);
@@ -904,7 +905,7 @@ _cmd_complete_parameters(char *input, int *size)
     _parameter_autocomplete(input, size, "/info",
         contact_list_find_contact);
     _parameter_autocomplete(input, size, "/connect",
-        prefs_find_login);
+        accounts_find_login);
     _parameter_autocomplete_with_ac(input, size, "/sub", sub_ac);
     _parameter_autocomplete_with_ac(input, size, "/help", help_ac);
     _parameter_autocomplete_with_ac(input, size, "/who", who_ac);