diff --git a/PBot/StdinReader.pm b/PBot/StdinReader.pm index 7b46d8eb..701dfa7a 100644 --- a/PBot/StdinReader.pm +++ b/PBot/StdinReader.pm @@ -61,6 +61,8 @@ sub stdin_reader { # remove newline chomp $input; + return if not length $input; + $self->{pbot}->{logger}->log("---------------------------------------------\n"); $self->{pbot}->{logger}->log("Got STDIN: $input\n");