From 9864ce09ae04bbd011567bee1074e5d83c7e5cee Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 3 Aug 2017 13:28:52 -0700 Subject: [PATCH] Factoid doesn't have effective-level, not the bot itself... --- PBot/Factoids.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index 7546deaf..18e26158 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -726,7 +726,7 @@ sub interpreter { return $action; } elsif ($action =~ s/^\/kick\s+//) { if (not exists $self->{factoids}->hash->{$channel}->{$keyword}->{'effective-level'}) { - return "/say $nick: I don't have the effective-level to do that."; + return "/say $nick: $keyword doesn't have the effective-level to do that."; } my $level = 10; if ($self->{factoids}->hash->{$channel}->{$keyword}->{'effective-level'} >= $level) {