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:
parent
a6b2f60175
commit
08c1a539de
@ -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."; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user