commit 06fd50e5187460e6e0e79aff305f3a7f8e5be32a from: jrmu date: Tue Mar 07 01:40:31 2023 UTC Regex error commit - 632e63ccc7529a6e11a3313f4ab6404db3428457 commit + 06fd50e5187460e6e0e79aff305f3a7f8e5be32a blob - 23f4da7bd07233b103e5261943c2298011c69dd7 blob + 3506a94d4da51d91073637c1bb4c9d0f653f97c8 --- Mail.pm +++ Mail.pm @@ -118,7 +118,7 @@ sub mmail { main::putserv($bot, "PRIVMSG $nick :Check your email!"); sleep(5); mailmail($username, $pass, $email); - if ($approval eq "true") { + if ($approval) { my @passwd = main::readarray($passwdpath); foreach my $line (@passwd) { $line =~ s/^(${username}\@${hostname}.*)/#$1/;