about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-12-22 23:07:41 +0000
committerJames Booth <boothj5@gmail.com>2013-12-22 23:13:05 +0000
commit581f58e47f0b52b60b0aa7ec6746c7bd1d24e6ee (patch)
treedc3f8fb77295cd7433f41bbcc7ac9dfa91924d09 /src/main.c
parent5a5b1340aa799ee1d56961123a4770ebadb287bc (diff)
downloadprofani-tty-581f58e47f0b52b60b0aa7ec6746c7bd1d24e6ee.tar.gz
Bind jabber functions in main.c
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c3065bd3..4c733daf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,11 +29,19 @@
 
 #include "profanity.h"
 
+#include "xmpp/xmpp.h"
+
 static gboolean disable_tls = FALSE;
 static gboolean version = FALSE;
 static char *log = "INFO";
 static char *account_name = NULL;
 
+static void
+_init_modules(void)
+{
+    jabber_init_module();
+}
+
 int
 main(int argc, char **argv)
 {
@@ -79,6 +87,7 @@ main(int argc, char **argv)
         return 0;
     }
 
+    _init_modules();
     prof_run(disable_tls, log, account_name);
 
     return 0;