aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-17 17:17:57 +1200
committerDavid Phillips <david@sighup.nz>2018-09-17 17:17:57 +1200
commitd56996493355dcef18c8466591aaff95b0b6be08 (patch)
treebb6b896fbbc14775724600d9cafd9487c2a2f257
parent55c898230469c7a93c2a3900e06f549eaff131bc (diff)
downloadidalius-d56996493355dcef18c8466591aaff95b0b6be08.tar.xz
Clean up Admin.pm
-rw-r--r--Plugin/Admin.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/Plugin/Admin.pm b/Plugin/Admin.pm
index f67df4d..3e600fb 100644
--- a/Plugin/Admin.pm
+++ b/Plugin/Admin.pm
@@ -32,11 +32,10 @@ sub configure {
sub is_admin {
my $who = shift;
- print "admins are ".(join ", ", $config->{admins})."\n";
my $is_admin = grep {$_ eq $who} @{$config->{admins}};
if (!$is_admin) {
- # Uhh log this rather than print
- print "$who isn't an admin, but tried to use a command";
+ # FIXME log this rather than print
+ print "$who isn't an admin, but tried to use a command\n";
}
return $is_admin;
}