diff options
author | LemonBoy <thatlemon@gmail.com> | 2015-09-10 01:02:44 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2015-09-11 00:30:16 +0200 |
commit | b8d3301d34f383f039071214872570385de1bb59 (patch) | |
tree | dd91cc69d8bcc9fa62f7d8a768e2d72f855202c1 /src/irc/core/irc-chatnets.h | |
parent | 762c1d7f2c7478f1e98f847352e6cb3ca889c580 (diff) | |
download | irssi-b8d3301d34f383f039071214872570385de1bb59.zip |
SASL support
The only supported methods are PLAIN and EXTERNAL, the latter is untested as of
now.
The code gets the values from the keys named sasl_{mechanism,username,password}
specified for each chatnet.
Diffstat (limited to 'src/irc/core/irc-chatnets.h')
-rw-r--r-- | src/irc/core/irc-chatnets.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/irc/core/irc-chatnets.h b/src/irc/core/irc-chatnets.h index 22da90c5..2bb10fa9 100644 --- a/src/irc/core/irc-chatnets.h +++ b/src/irc/core/irc-chatnets.h @@ -17,12 +17,15 @@ struct _IRC_CHATNET_REC { #include "chatnet-rec.h" - char *usermode; + char *usermode; + + char *sasl_mechanism; + char *sasl_username; + char *sasl_password; int max_cmds_at_once; int cmd_queue_speed; - int max_query_chans; /* when syncing, max. number of channels to - put in one MODE/WHO command */ + int max_query_chans; /* when syncing, max. number of channels to put in one MODE/WHO command */ /* max. number of kicks/msgs/mode/whois per command */ int max_kicks, max_msgs, max_modes, max_whois; |