diff options
author | James Booth <boothj5@gmail.com> | 2012-12-02 01:29:42 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-12-02 01:29:42 +0000 |
commit | 6826a66f8506d763d30bcf8e54147efbf5e8050c (patch) | |
tree | 8179299e486473f12312123815d37dd5b6c80528 /src/profanity.c | |
parent | 30e4786180047d6b8fc97ee3c4e18b62f8b0d6b0 (diff) | |
download | profani-tty-6826a66f8506d763d30bcf8e54147efbf5e8050c.tar.gz |
Moved logins to accounts module
Diffstat (limited to 'src/profanity.c')
-rw-r--r-- | src/profanity.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profanity.c b/src/profanity.c index 8f4befb1..92ceae44 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -28,6 +28,7 @@ #include <glib.h> +#include "accounts.h" #include "chat_log.h" #include "chat_session.h" #include "command.h" @@ -198,7 +199,7 @@ prof_handle_login_success(const char *jid) win_current_page_off(); status_bar_print_message(jid); status_bar_refresh(); - prefs_add_login(jid); + accounts_add_login(jid); } void @@ -508,6 +509,7 @@ _init(const int disable_tls, char *log_level) log_info("Starting Profanity (%s)...", PACKAGE_VERSION); chat_log_init(); prefs_load(); + accounts_load(); gchar *theme = prefs_get_theme(); theme_load(theme); g_free(theme); |