about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-06-30 11:10:27 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-06-30 11:10:27 +0200
commit8de6a7bfb0773faf60317988340df7ae6e42aa68 (patch)
tree21ecc9970827baadf0899d05782127e905903365 /src/event
parent60f40988462c4d0fe4645839b866c576a2536aef (diff)
downloadprofani-tty-8de6a7bfb0773faf60317988340df7ae6e42aa68.tar.gz
And ifdefs around new OX functions
Fix for some build cases introduced in 2c94ee5a88f64332a3f41f41a4d314fc52200e31
Fix https://github.com/profanity-im/profanity/issues/1376
Diffstat (limited to 'src/event')
-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 22ac9d10..137c6cd9 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -529,8 +529,8 @@ _sv_ev_incoming_ox(ProfChatWin *chatwin, gboolean new_win, ProfMessage *message,
         chatwin->pgp_recv = TRUE;
         //p_gpg_free_decrypted(message->plain);
         message->plain = NULL;
-}
 #endif
+}
 
 static void
 _sv_ev_incoming_otr(ProfChatWin *chatwin, gboolean new_win, ProfMessage *message)