diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-07-29 12:30:27 +0100 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-07-29 23:52:23 +0100 |
commit | 8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700 (patch) | |
tree | 1feebdf5f9b40544f904cc0917456b260b64d5ab /src/core | |
parent | 12e2c46d6a778f131c1ca6a7134af1cd5e722dbe (diff) | |
download | irssi-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.c | 4 |
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(); |