3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

RegistryCommands: fix typo in regunset

This commit is contained in:
Pragmatic Software 2020-02-16 09:29:55 -08:00
parent a6b2f60175
commit 08c1a539de

View File

@ -61,7 +61,7 @@ sub regunset {
if (not defined $section or not defined $item) { return $usage; } if (not defined $section or not defined $item) { return $usage; }
if (not $self->{pbot}->{registry}->{registry}->exits($section)) { return "No such registry section $section."; } if (not $self->{pbot}->{registry}->{registry}->exists($section)) { return "No such registry section $section."; }
if (not $self->{pbot}->{registry}->{registry}->exists($section, $item)) { return "No such item $item in section $section."; } if (not $self->{pbot}->{registry}->{registry}->exists($section, $item)) { return "No such item $item in section $section."; }