mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01: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`;
|
||||
chomp $stuff->{result};
|
||||
|
||||
$stuff->{result} = "/say $stuff->{result}" if length $stuff->{result};
|
||||
|
||||
my $json = encode_json $stuff;
|
||||
print $writer "$json\n";
|
||||
exit 0;
|
||||
|
Loading…
Reference in New Issue
Block a user