diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-11-07 23:42:38 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-11-07 23:42:38 +0100 |
commit | bbcd5fbe2242ee053f04aba7b766f0bb37f81b31 (patch) | |
tree | 5c1a00735473e86feffea1aa86fb13a12d3315b3 /src/plugins/irc/irc-server.h | |
parent | 3f21038deb6323b07e993b3f418152eba42dca33 (diff) | |
download | weechat-bbcd5fbe2242ee053f04aba7b766f0bb37f81b31.zip |
Fix compilation error when gnutls lib is not installed
Diffstat (limited to 'src/plugins/irc/irc-server.h')
-rw-r--r-- | src/plugins/irc/irc-server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h index 137278e38..c0214fd6b 100644 --- a/src/plugins/irc/irc-server.h +++ b/src/plugins/irc/irc-server.h @@ -114,7 +114,9 @@ struct t_irc_server struct t_hook *hook_fd; /* hook for server socket */ int is_connected; /* 1 if WeeChat is connected to server */ int ssl_connected; /* = 1 if connected with SSL */ +#ifdef HAVE_GNUTLS gnutls_session_t gnutls_sess; /* gnutls session (only if SSL is used) */ +#endif char *unterminated_message; /* beginning of a message in input buf */ int nicks_count; /* number of nicknames */ char **nicks_array; /* nicknames (after split) */ |