From ca37b4fd4e1594c31fdfd390f07137a129856d00 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 4 Aug 2014 22:50:22 +0000 Subject: [PATCH] Fix use of wrong sub name when saving registry entries in add/remove subs --- PBot/Registry.pm | 4 ++-- PBot/VERSION.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/Registry.pm b/PBot/Registry.pm index 8a89ac66..8e6db21c 100644 --- a/PBot/Registry.pm +++ b/PBot/Registry.pm @@ -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 { diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index bdaa3050..8b518623 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 => 766, + BUILD_REVISION => 767, BUILD_DATE => "2014-08-04", };