aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-22 00:03:31 +1200
committerDavid Phillips <david@sighup.nz>2018-09-22 00:03:45 +1200
commit8c885fc58ab739de5d4f54d90d9741d0adf8e83a (patch)
treeb7b32131fef3b046aa35b1b930432a7894e9219f /Plugin
parent643f065adfc79f100bddd93e8331e4e23b606d3e (diff)
downloadidalius-8c885fc58ab739de5d4f54d90d9741d0adf8e83a.tar.xz
Write @_[0] as scalar $_[0]
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Admin.pm2
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 {