]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/Misc.pl
root[wW]arn -> RootWarn
[infobot.git] / blootbot / src / Misc.pl
index 843cbb59039b8463447df738c60e6526b626c934..df5e8de99789b42ea8ccd5c023eacbe57ed4beb4 100644 (file)
@@ -560,7 +560,7 @@ sub checkMsgType {
 sub validExec {
     my ($str) = @_;
 
-    if ($str =~ /[\'\"\|]/) {  # invalid.
+    if ($str =~ /[\`\'\"\|]/) {        # invalid.
        return 0;
     } else {                   # valid.
        return 1;
@@ -575,7 +575,7 @@ sub hasProfanity {
     for (lc $string) {
        /fuck/ and last;
        /dick|dildo/ and last;
-       /shit|turd|crap/ and last;
+       /shit/ and last;
        /pussy|[ck]unt/ and last;
        /wh[0o]re|bitch|slut/ and last;