added some extra spaced out swearwords

This commit is contained in:
minima 2001-10-01 20:37:18 +00:00
parent 8825f74051
commit e0cfa6eebc
2 changed files with 5 additions and 1 deletions

View File

@ -76,6 +76,10 @@ sub check
return "COCK";
} elsif ($s =~ /S[\s\W]*H[\s\W]*[I1][\s\W]*T/) {
return "SHIT";
} elsif ($s =~ /P[\s\W]*[I1][\s\W]*S[\s\W]*S/) {
return "PISS";
} elsif ($s =~ /B[\s\W]*[O0][\s\W]*L[\s\W]*L[\s\W]*[O0][\s\W]*[CK]/) {
return "BOLLOCKS";
}
return ();

View File

@ -62,7 +62,7 @@ sub modline
if (my @ans = BadWord::check($line)) {
return ($dxchan->msg('e17', @ans));
}
${$self->{lines}}[$no], $line;
${$self->{lines}}[$no] = $line;
return ();
}