summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Command.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-04-25 04:15:12 +0000
committerfukachan <fukachan>2002-04-25 04:15:12 +0000
commit345ccec262a2e2e0d3520e6ace1c2f0fe3824b9b (patch)
treec4fd936799603c537a0b4e2ef1c80e5ea0d3bd49 /fml/lib/FML/Process/Command.pm
parent4d93dc875d0d5fd4582ff571dd96f3b18aab03b1 (diff)
downloadfml8-345ccec262a2e2e0d3520e6ace1c2f0fe3824b9b.tar.gz
fml8-345ccec262a2e2e0d3520e6ace1c2f0fe3824b9b.tar.bz2
fml8-345ccec262a2e2e0d3520e6ace1c2f0fe3824b9b.zip
rename variable: available_commands_for_xxx -> commands_for_xxx
Diffstat (limited to 'fml/lib/FML/Process/Command.pm')
-rw-r--r--fml/lib/FML/Process/Command.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/Command.pm b/fml/lib/FML/Process/Command.pm
index 11cdd331..5e8915cc 100644
--- a/fml/lib/FML/Process/Command.pm
+++ b/fml/lib/FML/Process/Command.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Command.pm,v 1.45 2002/04/13 13:52:39 fukachan Exp $
+# $FML: Command.pm,v 1.46 2002/04/13 14:53:08 fukachan Exp $
#
package FML::Process::Command;
@@ -268,8 +268,8 @@ sub _is_valid_command
}
# 2. use of this command is allowed in FML::Config or not ?
- unless ($config->has_attribute("available_commands_for_$mode", $comname)) {
- Log("available_commands_for_$mode has no $comname");
+ unless ($config->has_attribute("commands_for_$mode", $comname)) {
+ Log("commands_for_$mode has no $comname");
$curproc->reply_message("\n$prompt $command");
$curproc->reply_message_nl('command.not_command',
"not command, ignored.");