From bf4920b866c64f194693e7c9cbcd7f6c40448929 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 18 May 2014 00:30:51 +0000 Subject: [PATCH] Set default identify_password to "none" to avoid empty value in registry --- PBot/PBot.pm | 2 +- PBot/VERSION.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/PBot.pm b/PBot/PBot.pm index 3d49dd5e..eddf443c 100644 --- a/PBot/PBot.pm +++ b/PBot/PBot.pm @@ -86,7 +86,7 @@ sub initialize { $self->{registry}->add_default('text', 'irc', 'botnick', delete $conf{botnick} // "pbot3"); $self->{registry}->add_default('text', 'irc', 'username', delete $conf{username} // "pbot3"); $self->{registry}->add_default('text', 'irc', 'ircname', delete $conf{ircname} // "http://code.google.com/p/pbot2-pl/"); - $self->{registry}->add_default('text', 'irc', 'identify_password', delete $conf{identify_password} // ""); + $self->{registry}->add_default('text', 'irc', 'identify_password', delete $conf{identify_password} // 'none'); $self->{registry}->set('irc', 'SSL_ca_file', 'private', 1); $self->{registry}->set('irc', 'SSL_ca_path', 'private', 1); $self->{registry}->set('irc', 'identify_password', 'private', 1); diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index e02fc336..fca9ff50 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 583, + BUILD_REVISION => 584, BUILD_DATE => "2014-05-17", };