Commit Diff
Diff:
aa94358bb72424f3f184db527aa3f05282e0bb01
f35ecfb92e164bb61b1b161cbb0f96b7ea548c6a
Commit:
f35ecfb92e164bb61b1b161cbb0f96b7ea548c6a
Tree:
f4e79a7aee4be2d040bad273e6308d76e56ebf47
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Sun Oct 11 13:28:55 2020 UTC
Message:
die on bad password
blob - 82e5d72d12aa2fe0b300a5257bb52f85610e1cdf
blob + 7844e92985bea7ed8efe34c1d11e5d9a8c39d67f
--- botnow.pl
+++ botnow.pl
@@ -237,7 +237,7 @@ while(my @ready = $sel->can_read) {
}
}
} elsif ($type eq "464" && $target =~ /^$conf{nick}.?$/ && $text eq "Invalid Password") {
- debug(ERRORS, "ERROR: Wrong Username/Password: $bot->{name}");
+ die "ERROR: Wrong Username/Password: $bot->{name}";
} else {
debug(ERRORS, "Unexpected: type: $type, target: $target, text: $text");
}