Commit Diff


commit - 717afa50377a0eb642dc71831db47fa4975da252
commit + ccc446d908fecc40ff84c1ffa25116a5b7b31210
blob - 243d58f4a7ab7feb4e7f5d37b07ba638c8fdb131
blob + d9475e28e90e1709a137acf48d253fabc82d75c4
--- BNC.pm
+++ BNC.pm
@@ -118,11 +118,11 @@ sub mbnc {
 			}
 		}
 		return;
-	} elsif (main::isstaff($bot, $nick) && $text =~ /^activate\s+([[:ascii:]]+)/) {
+	} elsif (main::isstaff($bot, $nick) && $text =~ /^approve\s+([[:ascii:]]+)/) {
 		my $username = $1;
 		main::putserv($bot, "PRIVMSG *blockuser :unblock $username");
 		foreach my $chan (@teamchans) {
-			main::putserv($bot, "PRIVMSG $chan :$username bnc activated");
+			main::putserv($bot, "PRIVMSG $chan :$username bnc approved");
 		}
 	} elsif ($staff =~ /$nick/ && $text =~ /^cloneuser$/i) {
 		main::putserv($bot, "PRIVMSG *controlpanel :deluser cloneuser");
blob - 56d1345f5b4e4a48a21820d5005396962373f045
blob + db738e3574a2cabb31bf2df075524fcf694c5510
--- Shell.pm
+++ Shell.pm
@@ -95,11 +95,11 @@ sub mshell {
 			}
 		}
 		return;
-	} elsif (main::isstaff($bot, $nick) && $text =~ /^activate\s+([[:ascii:]]+)/) {
+	} elsif (main::isstaff($bot, $nick) && $text =~ /^approve\s+([[:ascii:]]+)/) {
 		my $username = $1;
 		system "doas usermod -e 0 -s /bin/ksh $username";
 		foreach my $chan (@teamchans) {
-			main::putserv($bot, "PRIVMSG $chan :$username activated");
+			main::putserv($bot, "PRIVMSG $chan :$username approved");
 		}
 	}
 	### TODO: Check duplicate emails ###