From d54342b37dbb3645f3993b47c2908bbf90b691f8 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 6 Feb 2023 20:22:32 -0800 Subject: [PATCH] Fix variable name --- spam/spam-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spam/spam-lib.pl b/spam/spam-lib.pl index 052e9e946..68362721b 100755 --- a/spam/spam-lib.pl +++ b/spam/spam-lib.pl @@ -197,7 +197,7 @@ if ($newname =~ s/whitelist/welcomelist/ || # New name exists in config, so use it $name = $newname; } - elsif (!@oldname && &version_atleast("4.0")) { + elsif (!@olduse && &version_atleast("4.0")) { # Neither exists, but use the new name is later versions $name = $newname; }