diff --git a/scripts/autoop.pl b/scripts/autoop.pl index 1a89381a..e3d4c65e 100644 --- a/scripts/autoop.pl +++ b/scripts/autoop.pl @@ -30,7 +30,7 @@ sub cmd_autoop { } if ($masks eq "") { - $masks = "" if (!$masks); + $masks = ""; delete $opnicks{$channel}; } else { $opnicks{$channel} = $masks;