3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

Allow /me and such from modules again

This commit is contained in:
Pragmatic Software 2018-02-28 15:57:00 -08:00
parent 044495e044
commit 4f78895ad0

View File

@ -166,8 +166,6 @@ sub execute_module {
$stuff->{result} = `./$module $stuff->{arguments} 2>> $module-stderr`;
chomp $stuff->{result};
$stuff->{result} = "/say $stuff->{result}" if length $stuff->{result};
my $json = encode_json $stuff;
print $writer "$json\n";
exit 0;