diff --git a/lib/Bot/BasicBot/Pluggable/Module/Karma.pm b/lib/Bot/BasicBot/Pluggable/Module/Karma.pm index 8ce8421..cf17a90 100644 --- a/lib/Bot/BasicBot/Pluggable/Module/Karma.pm +++ b/lib/Bot/BasicBot/Pluggable/Module/Karma.pm @@ -50,7 +50,12 @@ sub told { } my $reply = $self->add_karma( $thing, $add, $comment, $mess->{who} ); if (lc $thing eq lc $self->bot->nick) { - $reply .= ' ' . ($add ? '(thanks!)' : '(pffft)'); + if ($reply eq '1') { + $reply = ''; + } else { + $reply .= ' '; + } + $reply .= ($add ? '(thanks!)' : '(pffft)'); } return $reply; }