No longer remove trailing punctuation from embedded factoid commands

This commit is contained in:
Pragmatic Software 2015-11-26 12:36:36 -08:00
parent 1f1631935b
commit 2962a44c12
1 changed files with 0 additions and 1 deletions

View File

@ -114,7 +114,6 @@ sub process_line {
$processed += 100;
} elsif ($cmd_text =~ s/\B$bot_trigger`([^`]+)// || $cmd_text =~ s/\B$bot_trigger\{([^}]+)//) {
my $cmd = $1;
$cmd =~ s/(.)[.!?;,)]$/$1/;
my ($nick) = $cmd_text =~ m/^([^ ,:;]+)/;
$nick = $self->{pbot}->{nicklist}->is_present($from, $nick);
if ($nick) {