diff options
author | Alexander Færøy <ahf@0x90.dk> | 2015-01-04 01:57:21 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@irssi.org> | 2018-02-26 23:32:57 +0100 |
commit | 016b42baea9d7dcd2a284f873246c06259c560dd (patch) | |
tree | 8c5382398598851bd23b8ca3d439d580f224d684 /src/fe-text/irssi.c | |
parent | ad4324d24210f30646575b8bcbae8b50d2149224 (diff) | |
download | irssi-016b42baea9d7dcd2a284f873246c06259c560dd.zip |
Add OTR support.
This patch adds support for the OTR protocol to irssi. This is an import
of the external irssi-otr project that we are now taking over
maintership for.
Major thanks to the original authors of Irssi-OTR: Uli Meis and David
Goulet. Thanks to the OTR community in #OTR on OFTC, thanks to everyone
who have helped testing the patches and submitted UI suggestions.
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r-- | src/fe-text/irssi.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index f30ce4b8..728f456e 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -54,6 +54,11 @@ void fe_perl_init(void); void fe_perl_deinit(void); #endif +#ifdef HAVE_STATIC_OTR +void otr_core_init(void); +void otr_core_deinit(void); +#endif + void irc_init(void); void irc_deinit(void); @@ -183,6 +188,10 @@ static void textui_finish_init(void) fe_perl_init(); #endif +#ifdef HAVE_STATIC_OTR + otr_core_init(); +#endif + dirty_check(); fe_common_core_finish_init(); @@ -221,8 +230,12 @@ static void textui_deinit(void) module_unload(modules->data); #ifdef HAVE_STATIC_PERL - perl_core_deinit(); - fe_perl_deinit(); + perl_core_deinit(); + fe_perl_deinit(); +#endif + +#ifdef HAVE_STATIC_OTR + otr_core_deinit(); #endif dirty_check(); /* one last time to print any quit messages */ |