diff options
author | James Booth <boothj5@gmail.com> | 2013-01-20 00:35:40 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-20 00:35:40 +0000 |
commit | 22589e879822a89212c49030dabee3db0c10f8e8 (patch) | |
tree | 002d8641a27093a892fe620ccecdf120ceb6feed /src/profanity.c | |
parent | 7920a9b2f17042c2181ffc9cb40af22b4645b9f5 (diff) | |
download | profani-tty-22589e879822a89212c49030dabee3db0c10f8e8.tar.gz |
Initialise and free capabilities
Diffstat (limited to 'src/profanity.c')
-rw-r--r-- | src/profanity.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c index a8e80870..0eec13a5 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -30,6 +30,7 @@ #include <glib.h> #include "accounts.h" +#include "capabilities.h" #include "chat_log.h" #include "chat_session.h" #include "command.h" @@ -541,6 +542,7 @@ _init(const int disable_tls, char *log_level) theme_init(theme); g_free(theme); ui_init(); + caps_init(); jabber_init(disable_tls); cmd_init(); log_info("Initialising contact list"); @@ -553,6 +555,7 @@ _shutdown(void) { jabber_disconnect(); contact_list_free(); + caps_close(); ui_close(); chat_log_close(); prefs_close(); |