diff options
author | James Booth <boothj5@gmail.com> | 2014-02-16 19:14:15 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-02-16 19:14:15 +0000 |
commit | a21ab6d4c8d9de9abce9dddd1d23668779ca15e7 (patch) | |
tree | b54b2d20afebe91e9e12bf2ae2edfbf4bbd274e8 /src/main.c | |
parent | 6ef1174bf44f34f269b42889d12ea322f0a0d400 (diff) | |
download | profani-tty-a21ab6d4c8d9de9abce9dddd1d23668779ca15e7.tar.gz |
Mock otr module for cmd_otr tests
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index a87b9280..7796ed96 100644 --- a/src/main.c +++ b/src/main.c @@ -29,6 +29,9 @@ #include "profanity.h" +#ifdef HAVE_LIBOTR +#include "otr/otr.h" +#endif #include "xmpp/xmpp.h" #include "ui/ui.h" @@ -56,6 +59,9 @@ _init_modules(void) titlebar_init_module(); accounts_init_module(); +#ifdef HAVE_LIBOTR + otr_init_module(); +#endif } int |