3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

Remove printing of args

This commit is contained in:
Pragmatic Software 2010-05-04 05:59:14 +00:00
parent 25c9c5f868
commit d16a013379

View File

@ -52,12 +52,12 @@ sub execute_module {
$self->{pbot}->logger->log("(" . (defined $from ? $from : "(undef)") . "): $nick!$user\@$host: Executing module $module $arguments\n"); $self->{pbot}->logger->log("(" . (defined $from ? $from : "(undef)") . "): $nick!$user\@$host: Executing module $module $arguments\n");
$arguments =~ s/\$nick/$nick/g;
$arguments = quotemeta($arguments); $arguments = quotemeta($arguments);
$arguments =~ s/\\\s+/ /g; $arguments =~ s/\\\s+/ /g;
$arguments =~ s/\-/-/g; $arguments =~ s/\-/-/g;
print "args: $arguments\n";
my $pid = fork; my $pid = fork;
if(not defined $pid) { if(not defined $pid) {
$self->{pbot}->logger->log("Could not fork module: $!\n"); $self->{pbot}->logger->log("Could not fork module: $!\n");