From 7c018c5e88d5a22256a14651a7545c47d977c6a9 Mon Sep 17 00:00:00 2001 From: bw1 Date: Sat, 1 Apr 2017 17:30:41 +0200 Subject: [kicks][crit] my ($var1, $var2) --- scripts/kicks.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/kicks.pl b/scripts/kicks.pl index af9f567..76e87ea 100644 --- a/scripts/kicks.pl +++ b/scripts/kicks.pl @@ -94,7 +94,7 @@ sub initialize { next if /^\s*#/; chomp; - (my $key, my $reasons) = /^(\S+)\s+(.+)\s*$/ or next; + my ($key, $reasons) = /^(\S+)\s+(.+)\s*$/ or next; if ($reasons =~ /\`([^\s]+).*?\`/) { $kickreasons{$key} = "$reasons"; @@ -145,7 +145,7 @@ sub get_a_reason { } sub cmd_realkick { - (my $data, my $server, my $channel, my $cmd) = @_; + my ($data, $server, $channel, $cmd) = @_; my $reasons = "default"; return if not $server -- cgit v1.2.3