From 9e0523bba756dc47c3ba690768c93e5dbb514e35 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 29 Jul 2018 23:52:42 +1200 Subject: Add new temporary hack for SASL EXTERNAL --- bot.conf.example | 2 ++ config_file.pm | 2 ++ idalius.pl | 2 ++ 3 files changed, 6 insertions(+) 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', diff --git a/idalius.pl b/idalius.pl index 2dc3ee2..a451309 100755 --- a/idalius.pl +++ b/idalius.pl @@ -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}, -- cgit v1.1