about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-05-06 16:11:22 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-05-06 16:11:22 +0200
commitc94f3d0b4ad3dbad3f33cbe0d7c19c6cd41e7aea (patch)
tree95a05686af193bdb59ae45d241237219bb91c170
parent9ecc14c95dbd90f22e2e9b4f73cd6d1ba1e61d0d (diff)
downloadprofani-tty-c94f3d0b4ad3dbad3f33cbe0d7c19c6cd41e7aea.tar.gz
Fix ifdef guard (should have been OMEMO)
-rw-r--r--src/event/server_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 5ad6ab4f..cf1c35b8 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -221,7 +221,7 @@ sv_ev_lost_connection(void)
 #ifdef HAVE_LIBGPGME
     p_gpg_on_disconnect();
 #endif
-#ifdef HAVE_LIBGPGME
+#ifdef HAVE_OMEMO
     omemo_on_disconnect();
 #endif
 }