summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-07-31 13:22:01 +0000
committerfukachan <fukachan>2002-07-31 13:22:01 +0000
commitc27ee209c0d01b30692bd8ad056faa224fcf76d6 (patch)
treed36a92068ea4f4c4813f8c431f4415c83bbdfddd /fml/lib/FML/Process
parentc00d506aef4353f13ac03219715ca5bee34d3728 (diff)
downloadfml8-c27ee209c0d01b30692bd8ad056faa224fcf76d6.tar.gz
fml8-c27ee209c0d01b30692bd8ad056faa224fcf76d6.tar.bz2
fml8-c27ee209c0d01b30692bd8ad056faa224fcf76d6.zip
use LogError() if appropriate
Diffstat (limited to 'fml/lib/FML/Process')
-rw-r--r--fml/lib/FML/Process/Distribute.pm4
-rw-r--r--fml/lib/FML/Process/Kernel.pm6
2 files changed, 5 insertions, 5 deletions
diff --git a/fml/lib/FML/Process/Distribute.pm b/fml/lib/FML/Process/Distribute.pm
index 869b047c..7f32d6f4 100644
--- a/fml/lib/FML/Process/Distribute.pm
+++ b/fml/lib/FML/Process/Distribute.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Distribute.pm,v 1.85 2002/07/23 13:03:13 fukachan Exp $
+# $FML: Distribute.pm,v 1.86 2002/07/31 13:02:54 fukachan Exp $
#
package FML::Process::Distribute;
@@ -372,7 +372,7 @@ sub _header_rewrite
});
}
else {
- Log("Error: header->$rule is undefined");
+ LogError("header->$rule is undefined");
}
}
}
diff --git a/fml/lib/FML/Process/Kernel.pm b/fml/lib/FML/Process/Kernel.pm
index 88113c8e..399cc3ff 100644
--- a/fml/lib/FML/Process/Kernel.pm
+++ b/fml/lib/FML/Process/Kernel.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Kernel.pm,v 1.118 2002/07/25 00:10:29 fukachan Exp $
+# $FML: Kernel.pm,v 1.119 2002/07/30 04:02:33 fukachan Exp $
#
package FML::Process::Kernel;
@@ -739,8 +739,8 @@ sub _check_restrictions
else {
# A: No, deny distribution
my $sender = $cred->sender;
- Log("$sender is not a ML member");
- Log( $cred->error() );
+ LogError("$sender is not an ML member");
+ LogError( $cred->error() );
$curproc->reply_message_nl('error.not_member',
"you are not a ML member." );
$curproc->reply_message( " your address: $sender" );