Fix use of wrong sub name when saving registry entries in add/remove subs

This commit is contained in:
Pragmatic Software 2014-08-04 22:50:22 +00:00
parent b15ab7f84f
commit ca37b4fd4e
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ sub add {
$self->{registry}->hash->{$section}->{$item}->{type} = $type;
$self->process_trigger($section, $item, $value) unless $is_default;
$self->save_registry unless $is_default;
$self->save unless $is_default;
}
sub remove {
@ -93,7 +93,7 @@ sub remove {
delete $self->{registry}->hash->{$section};
}
$self->save_registry;
$self->save;
}
sub set {

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 766,
BUILD_REVISION => 767,
BUILD_DATE => "2014-08-04",
};