mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-23 02:24:25 +01:00
Remove printing of args
This commit is contained in:
parent
25c9c5f868
commit
d16a013379
@ -52,12 +52,12 @@ sub execute_module {
|
||||
|
||||
$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 =~ s/\\\s+/ /g;
|
||||
$arguments =~ s/\-/-/g;
|
||||
|
||||
print "args: $arguments\n";
|
||||
|
||||
my $pid = fork;
|
||||
if(not defined $pid) {
|
||||
$self->{pbot}->logger->log("Could not fork module: $!\n");
|
||||
|
Loading…
Reference in New Issue
Block a user