summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 12:30:27 +0100
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 23:52:23 +0100
commit8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700 (patch)
tree1feebdf5f9b40544f904cc0917456b260b64d5ab /src/core
parent12e2c46d6a778f131c1ca6a7134af1cd5e722dbe (diff)
downloadirssi-8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700.zip
Fix build without Capsicum.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c
index 72631f91..c95879de 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -236,7 +236,9 @@ void core_init(void)
commands_init();
nickmatch_cache_init();
session_init();
+#ifdef HAVE_CAPSICUM
capsicum_init();
+#endif
chat_protocols_init();
chatnets_init();
@@ -294,7 +296,9 @@ void core_deinit(void)
chatnets_deinit();
chat_protocols_deinit();
+#ifdef HAVE_CAPSICUM
capsicum_deinit();
+#endif
session_deinit();
nickmatch_cache_deinit();
commands_deinit();