Browse files

Odzywki.pm reacts only sometimes

  • Loading branch information...
1 parent 7eab309 commit c32abdeec24f68bcbdf8a4931b80f71591b9fe40 @tadzik committed May 20, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 a8bot/Plugin/Odzywki.pm
View
1 a8bot/Plugin/Odzywki.pm
@@ -19,6 +19,7 @@ sub init {
sub pubmsg {
my ($bot, $data) = @_;
+ return if int(rand(2));
if (my $resp = $db{$data->{msg}}) {
return "$data->{nick}: " . &$resp;
}

0 comments on commit c32abde

Please sign in to comment.