FactoidCommands: disable word-wrapping for `show -p`

This commit is contained in:
Pragmatic Software 2019-08-06 18:23:37 -07:00
parent e30943ff70
commit c953962bd4
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ sub factshow {
my $result = "$trigger_text: ";
if ($paste) {
$result .= $self->{pbot}->{webpaste}->paste($factoids->{$channel}->{$trigger}->{action});
$result .= $self->{pbot}->{webpaste}->paste($factoids->{$channel}->{$trigger}->{action}, no_split => 1);
$channel = 'global' if $channel eq '.*';
$chan = 'global' if $chan eq '.*';
$result = "[$channel] $result" if $channel ne $chan;