]> ruin.nu Git - NDIRC.git/commitdiff
Fix, we don't use the HEAP anymore
authorMichael Andreen <harv@ruin.nu>
Fri, 21 Aug 2009 15:32:50 +0000 (17:32 +0200)
committerMichael Andreen <harv@ruin.nu>
Fri, 21 Aug 2009 15:32:50 +0000 (17:32 +0200)
Bot.pm

diff --git a/Bot.pm b/Bot.pm
index 1200424a94cfba04219b6415cc1dfd685ce222e2..ccc322941e6ba80c2dcf50c6f68576d0accf67d3 100644 (file)
--- a/Bot.pm
+++ b/Bot.pm
@@ -196,7 +196,7 @@ sub irc_001 {
 }
 
 sub irc_invite {
-       my ($self,$sender, $who, $channel) = @_[OBJECT,SENDER, HEAP, ARG0 .. ARG1];
+       my ($self,$sender, $who, $channel) = @_[OBJECT,SENDER, ARG0 .. ARG1];
        my $irc = $sender->get_heap();
 
        $irc->yield( join => $_ ) for grep /^$channel$/i, keys %{$self->disp->channels}