diff --git a/PBot/PBot.pm b/PBot/PBot.pm index 189c3376..05b690a1 100644 --- a/PBot/PBot.pm +++ b/PBot/PBot.pm @@ -247,7 +247,7 @@ sub check_stdin { $from = $1; $text = "$self->{trigger}$2"; } else { - $from = undef; + $from = "$self->{botnick}!stdin\@localhost"; $text = "$self->{trigger}$input"; } diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index aab44812..9aeca394 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 512, + BUILD_REVISION => 513, BUILD_DATE => "2014-03-07", };