mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-27 06:19:25 +01:00
No longer remove trailing punctuation from embedded factoid commands
This commit is contained in:
parent
1f1631935b
commit
2962a44c12
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user