Bind jabber functions in main.c

This commit is contained in:
James Booth
2013-12-22 23:07:41 +00:00
parent 5a5b1340aa
commit 581f58e47f
4 changed files with 29 additions and 14 deletions

View File

@@ -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;