3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-23 02:24:25 +01:00

Properly flag whether a command was processed and interpreted

This commit is contained in:
Pragmatic Software 2017-12-09 13:26:20 -08:00
parent f24c26d2ef
commit 1d2d057d45

View File

@ -189,7 +189,8 @@ sub process_line {
$stuff->{preserve_whitespace} = $preserve_whitespace;
$stuff->{result} = $self->interpret($stuff);
$processed++ if $self->handle_result($stuff);
$self->handle_result($stuff);
$processed++;
}
return $processed;
}