From 3fc39c9359640c4e98f23f60faa9e0a564884d78 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 6 Aug 2021 11:14:40 -0700 Subject: [PATCH] Core/Commands: remove(): fix arguments passed to unregister() --- lib/PBot/Core/Commands.pm | 2 +- lib/PBot/VERSION.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PBot/Core/Commands.pm b/lib/PBot/Core/Commands.pm index 545732c8..67aed6d2 100644 --- a/lib/PBot/Core/Commands.pm +++ b/lib/PBot/Core/Commands.pm @@ -67,7 +67,7 @@ sub add { # alias to unregister() for consistency sub remove { - my ($self) = @_; + my $self = shift @_; $self->unregister(@_); } diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 910d50d9..ba6f2b6f 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,7 +25,7 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4347, + BUILD_REVISION => 4348, BUILD_DATE => "2021-08-06", };