Permalink
Browse files

Fixed some issues under 5.12

  • Loading branch information...
1 parent d2c9caa commit 7eab3092356161032739efb287910ab41d8d9ab2 @tadzik committed May 20, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 a8bot/Plugin/Odzywki.pm
View
5 a8bot/Plugin/Odzywki.pm
@@ -19,10 +19,9 @@ sub init {
sub pubmsg {
my ($bot, $data) = @_;
- if (my $resp = $db{$data->{msg}}->()) {
- return "$data->{nick}: " . $resp;
+ if (my $resp = $db{$data->{msg}}) {
+ return "$data->{nick}: " . &$resp;
}
-
}
sub chuj {

0 comments on commit 7eab309

Please sign in to comment.