3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 03:33:06 +01:00

Interpreter: remove unnecessary slash

This commit is contained in:
Pragmatic Software 2020-02-05 01:21:00 -08:00
parent 4432338515
commit 47687f9e4f

View File

@ -931,7 +931,7 @@ sub output_result {
my $line = $stuff->{line};
return if not defined $line or not length $line;
return 0 if $stuff->{from} eq 'stdin\@pbot';
return 0 if $stuff->{from} eq 'stdin@pbot';
if ($line =~ s/^\/say\s+//i) {
if (defined $stuff->{nickoverride} and ($stuff->{no_nickoverride} == 0 or $stuff->{force_nickoverride} == 1)) {