diff options
author | David Phillips <david@sighup.nz> | 2018-07-29 23:52:42 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-07-30 00:41:26 +1200 |
commit | 9e0523bba756dc47c3ba690768c93e5dbb514e35 (patch) | |
tree | abbc4d335cc0d47ecdaaa78f0f06f98d84065fe4 | |
parent | c864470d4cf49249c6b4c0e412d9a060024d656e (diff) | |
download | idalius-9e0523bba756dc47c3ba690768c93e5dbb514e35.tar.xz |
Add new temporary hack for SASL EXTERNAL
-rw-r--r-- | bot.conf.example | 2 | ||||
-rw-r--r-- | config_file.pm | 2 | ||||
-rwxr-xr-x | idalius.pl | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/bot.conf.example b/bot.conf.example index d874777..29b619d 100644 --- a/bot.conf.example +++ b/bot.conf.example @@ -4,6 +4,8 @@ ircname = a bot server = irc.example.net port = 6667 usessl = 1 +sslcert = foo.crt +sslkey = foo.key channels = #saxtalk,#bot ignore = trumpetbot,abusiveuser password = pleffquiffle diff --git a/config_file.pm b/config_file.pm index 304338f..bc30cea 100644 --- a/config_file.pm +++ b/config_file.pm @@ -15,6 +15,8 @@ sub parse_config 'server', 'port', 'usessl', + 'sslcert', + 'sslkey', 'password', 'must_id', 'quit_msg', @@ -31,6 +31,8 @@ my @plugin_list = plugins("dummy", \®ister_command, \%config, \&run_command); # New PoCo-IRC object my $irc = POE::Component::IRC->spawn( UseSSL => $config{usessl}, + SSLCert => $config{sslcert}, + SSLKey => $config{sslkey}, nick => $config{nick}, ircname => $config{ircname}, port => $config{port}, |