Commit Diff
Diff:
632e63ccc7529a6e11a3313f4ab6404db3428457
06fd50e5187460e6e0e79aff305f3a7f8e5be32a
Commit:
06fd50e5187460e6e0e79aff305f3a7f8e5be32a
Tree:
b4c299e72c4bb7524c0b0614a15c3a2748c4dbec
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Tue Mar 7 01:40:31 2023 UTC
Message:
Regex error
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/;
IRCNow