aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2018-11-24 22:03:52 +1300
committerDavid Phillips <david@yeah.nah.nz>2018-11-24 22:14:44 +1300
commitfe3d45abef2060b90730febfb195526697e0bda0 (patch)
tree29c7e51f22f934b9a0ea7d7fa4b98a3fc836ee78
parent417a2265b463f9e7a695e883b3a26036d03c0dc8 (diff)
downloadidalius-fe3d45abef2060b90730febfb195526697e0bda0.tar.xz
Fix crusty line causing crash
-rwxr-xr-xidalius.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/idalius.pl b/idalius.pl
index 7de8238..d741a06 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -147,9 +147,9 @@ sub run_command {
# help POE realise when a connection is down. It otherwise seems to not realise
# a connection has fallen over otherwise.
sub custom_ping {
- my ($irc, $heap) = @_[KERNEL, HEAP];
- $irc->yield(userhost => $irc->nick_name());
- $irc->delay(custom_ping => $ping_delay);
+ my ($poek) = @_[KERNEL];
+ $poek->yield(userhost => $irc->nick_name());
+ $poek->delay(custom_ping => $ping_delay);
}
sub drop_priv {