diff options
| -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}, | 
