Skip to content

Commit

Permalink
Fixed some issues under 5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed May 20, 2010
1 parent d2c9caa commit 7eab309
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions a8bot/Plugin/Odzywki.pm
Expand Up @@ -19,10 +19,9 @@ sub init {


sub pubmsg { sub pubmsg {
my ($bot, $data) = @_; my ($bot, $data) = @_;
if (my $resp = $db{$data->{msg}}->()) { if (my $resp = $db{$data->{msg}}) {
return "$data->{nick}: " . $resp; return "$data->{nick}: " . &$resp;
} }

} }


sub chuj { sub chuj {
Expand Down

0 comments on commit 7eab309

Please sign in to comment.