summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Leadbeater2014-10-17 12:42:10 +0100
committerDavid Leadbeater2014-10-17 12:42:10 +0100
commit263a56d196da657b72ccf2b195b50008d6a988dc (patch)
tree0dda93c18238af498996c1410354e4fc9606f03a /scripts
parentcbcf35aed595db954303831acd343695f0575c07 (diff)
parentb092ffb6e08643a7dc553369eac6d2dcd205f0c3 (diff)
downloadscripts.irssi.org-263a56d196da657b72ccf2b195b50008d6a988dc.tar.bz2
Merge pull request #59 from obfuscoder/8ball
Fix perlcritic issues in 8ball
Diffstat (limited to 'scripts')
-rw-r--r--scripts/8-ball.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/8-ball.pl b/scripts/8-ball.pl
index 04564a7..5087080 100644
--- a/scripts/8-ball.pl
+++ b/scripts/8-ball.pl
@@ -28,7 +28,7 @@ use vars qw($VERSION %IRSSI);
use Irssi qw(command_bind signal_add);
use IO::File;
-$VERSION = '0.20';
+$VERSION = '0.21';
%IRSSI = (
authors => 'Patrik Jansson',
contact => 'gein@knivby.nu',
@@ -46,7 +46,7 @@ sub public_question {
my ($server, $msg, $nick, $address, $target) = @_;
question($server, $msg, $nick.": ", $target);
}
-sub question($server, $msg, $nick, $target) {
+sub question {
my ($server, $msg, $nick, $target) = @_;
$_ = $msg;
if (!/^8-ball/i) { return 0; }