From 1016dd678f9f92de34fc528933b7bdc89f2b7251 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 5 Feb 2020 18:30:34 -0800 Subject: [PATCH] Commands: fix typo --- PBot/Commands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Commands.pm b/PBot/Commands.pm index 4c30486d..ed666cfd 100644 --- a/PBot/Commands.pm +++ b/PBot/Commands.pm @@ -44,7 +44,7 @@ sub initialize { $self->register(sub { $self->uptime(@_) }, "uptime", 0); $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 {