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:
parent
f24c26d2ef
commit
1d2d057d45
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user