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", };