summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/autoop.pl2
1 files changed, 1 insertions, 1 deletions
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 = "<no-one>" if (!$masks);
+ $masks = "<no-one>";
delete $opnicks{$channel};
} else {
$opnicks{$channel} = $masks;