Commit Diff
Diff:
c8e9176570263fe014d2433fd99a008e2262ad70
6e075d98884f68dd3fbc8216398523ee7307d8cc
Commit:
6e075d98884f68dd3fbc8216398523ee7307d8cc
Tree:
0dce328b4a6ce93ac2a2477f915673e578bd4e13
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Sun Mar 12 02:34:10 2023 UTC
Message:
Fixed regex bug that would cause relayd.conf to get wiped out
blob - 575e562477e906594406851c68b5caf0e3d7f87d
blob + 26a54cff89101bedce5ce9d525317a876d8f9abe
--- Shell.pm
+++ Shell.pm
@@ -32,6 +32,14 @@ my $pfconfpath = "/etc/pf.conf";
my $relaydconfpath = "/etc/relayd.conf";
my $startPort;
my $endPort;
+
+use constant {
+ NONE => 0,
+ ERRORS => 1,
+ WARNINGS => 2,
+ ALL => 3,
+};
+
main::cbind("pub", "-", "shell", \&mshell);
main::cbind("msg", "-", "shell", \&mshell);
IRCNow