diff options
author | David Phillips <david@sighup.nz> | 2018-09-22 00:03:31 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-22 00:03:45 +1200 |
commit | 8c885fc58ab739de5d4f54d90d9741d0adf8e83a (patch) | |
tree | b7b32131fef3b046aa35b1b930432a7894e9219f | |
parent | 643f065adfc79f100bddd93e8331e4e23b606d3e (diff) | |
download | idalius-8c885fc58ab739de5d4f54d90d9741d0adf8e83a.tar.xz |
Write @_[0] as scalar $_[0]
-rw-r--r-- | Plugin/Admin.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Admin.pm b/Plugin/Admin.pm index 2bc0e19..a9a4c3c 100644 --- a/Plugin/Admin.pm +++ b/Plugin/Admin.pm @@ -45,7 +45,7 @@ sub configure { } sub is_channel { - return @_[0] =~ m/^#+/; + return $_[0] =~ m/^#+/; } sub is_admin { |