aboutsummaryrefslogtreecommitdiffstats
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix.c b/unix.c
index 11997732..4869e9f9 100644
--- a/unix.c
+++ b/unix.c
@@ -76,7 +76,11 @@ int main( int argc, char *argv[] )
memory management functions for libgcrypt while our gnutls module
uses the defaults. Therefore we initialize OTR after SSL. *sigh* */
ssl_init();
+#ifdef OTR_BI
otr_init();
+#endif
+ /* And in case OTR is loaded as a plugin, it'll also get loaded after
+ this point. */
srand( time( NULL ) ^ getpid() );