about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
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