diff options
author | David Phillips <david@sighup.nz> | 2018-09-17 17:17:57 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-17 17:17:57 +1200 |
commit | d56996493355dcef18c8466591aaff95b0b6be08 (patch) | |
tree | bb6b896fbbc14775724600d9cafd9487c2a2f257 /Plugin | |
parent | 55c898230469c7a93c2a3900e06f549eaff131bc (diff) | |
download | idalius-d56996493355dcef18c8466591aaff95b0b6be08.tar.xz |
Clean up Admin.pm
Diffstat (limited to 'Plugin')
-rw-r--r-- | Plugin/Admin.pm | 5 |
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; } |