mirror of
https://github.com/pragma-/pbot.git
synced 2025-04-13 11:27:54 +02:00
Allow /me and such from modules again
This commit is contained in:
parent
044495e044
commit
4f78895ad0
@ -166,8 +166,6 @@ sub execute_module {
|
|||||||
$stuff->{result} = `./$module $stuff->{arguments} 2>> $module-stderr`;
|
$stuff->{result} = `./$module $stuff->{arguments} 2>> $module-stderr`;
|
||||||
chomp $stuff->{result};
|
chomp $stuff->{result};
|
||||||
|
|
||||||
$stuff->{result} = "/say $stuff->{result}" if length $stuff->{result};
|
|
||||||
|
|
||||||
my $json = encode_json $stuff;
|
my $json = encode_json $stuff;
|
||||||
print $writer "$json\n";
|
print $writer "$json\n";
|
||||||
exit 0;
|
exit 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user