mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 18:39:35 +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");
|
$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");
|
||||||
|
Loading…
Reference in New Issue
Block a user