mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-25 19:44:26 +01:00
Commands: fix typo
This commit is contained in:
parent
bf05a8cb57
commit
1016dd678f
@ -44,7 +44,7 @@ sub initialize {
|
|||||||
$self->register(sub { $self->uptime(@_) }, "uptime", 0);
|
$self->register(sub { $self->uptime(@_) }, "uptime", 0);
|
||||||
$self->register(sub { $self->in_channel(@_) }, "in", 1);
|
$self->register(sub { $self->in_channel(@_) }, "in", 1);
|
||||||
|
|
||||||
$self->{pbot}->{capabilities}->add('admin', 'in', 1);
|
$self->{pbot}->{capabilities}->add('admin', 'can-in', 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub register {
|
sub register {
|
||||||
|
Loading…
Reference in New Issue
Block a user