mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
Show server:port when connecting
This commit is contained in:
parent
7ad726b383
commit
8810605691
@ -179,7 +179,7 @@ sub connect {
|
|||||||
SSL_ca_file => $self->{registry}->get_value('irc', 'SSL_ca_file'),
|
SSL_ca_file => $self->{registry}->get_value('irc', 'SSL_ca_file'),
|
||||||
SSL_ca_path => $self->{registry}->get_value('irc', 'SSL_ca_path'),
|
SSL_ca_path => $self->{registry}->get_value('irc', 'SSL_ca_path'),
|
||||||
Port => $self->{registry}->get_value('irc', 'port'))) {
|
Port => $self->{registry}->get_value('irc', 'port'))) {
|
||||||
$self->{logger}->log("$0: Can't connect to IRC server. Retrying in 15 seconds...\n");
|
$self->{logger}->log("$0: Can't connect to $server:" . $self->{registry}->get_value('irc', 'port') . ". Retrying in 15 seconds...\n");
|
||||||
sleep 15;
|
sleep 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user