The new BadWord, all regex, system
[spider.git] / perl / Editable.pm
index 28c676ec59d2f45310ce0f05d3bfe0e184616053..d2f15eeeb144543576316a4c904f929d90b1d3e0 100644 (file)
@@ -8,7 +8,7 @@
 #
 # Copyright (c) 2001 Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 package Editable;
@@ -39,7 +39,7 @@ sub addline
        my $dxchan = shift;
        my $line = shift;
        
-       if (my @ans = BadWord::check($line)) {
+       if (my @ans = BadWords::check($line)) {
                return ($dxchan->msg('e17', @ans));
        }
        push @{$self->{lines}}, $line;
@@ -53,7 +53,7 @@ sub modline
        my $no = shift;
        my $line = shift;
 
-       if (my @ans = BadWord::check($line)) {
+       if (my @ans = BadWords::check($line)) {
                return ($dxchan->msg('e17', @ans));
        }
     ${$self->{lines}}[$no] = $line;