diff --git a/lib/PBot/Core/Commands/Factoids.pm b/lib/PBot/Core/Commands/Factoids.pm index ca737fb1..376cbae9 100644 --- a/lib/PBot/Core/Commands/Factoids.pm +++ b/lib/PBot/Core/Commands/Factoids.pm @@ -459,7 +459,7 @@ sub cmd_factunset($self, $context) { if ($self->{pbot}->{factoids}->{data}->{storage}->exists($channel, $trigger, 'cap-override')) { if (lc $key eq 'locked') { if ($self->{pbot}->{capabilities}->userhas($userinfo, 'botowner')) { - $self->{pbot}->{factoids}->{data}->{storage}->unset($channel, $trigger, 'cap-override', 1); + $self->{pbot}->{factoids}->{data}->{storage}->unset($channel, $trigger, 'cap-override'); } else { return "You cannot unlock this factoid because it has a cap-override. Remove the override first."; } diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 14fad8c9..6f6f51a1 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 => 4837, + BUILD_REVISION => 4838, BUILD_DATE => "2024-11-05", };