Commit Diff
Diff:
6e075d98884f68dd3fbc8216398523ee7307d8cc
e5154b2e02df7676c558aad8eed76ad9ecd8137d
Commit:
e5154b2e02df7676c558aad8eed76ad9ecd8137d
Tree:
d1c51a58c9b170e875a5e1d34d272d3a98e24cc4
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Sun Mar 12 02:35:23 2023 UTC
Message:
Fixed regex bug that would cause relayd.conf to get wiped out
blob - 26a54cff89101bedce5ce9d525317a876d8f9abe
blob + 6a70c755f48a5bcce71ba13feeba1d7363930fa5
--- Shell.pm
+++ Shell.pm
@@ -443,7 +443,7 @@ sub configurerelayd {
$newconf = "$`$&\n\t$block$'";
} else {
$newconf = $relaydconf;
- main::debug(ERROR, "ERROR: regex can't match tls { keypair \$username.$hostname }");
+ main::debug(ERRORS, "ERROR: regex can't match tls { keypair \$username.$hostname }");
}
main::writefile($relaydconfpath, $newconf);
}
IRCNow