diff options
author | David Phillips <david@yeah.nah.nz> | 2018-11-24 22:03:52 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2018-11-24 22:14:44 +1300 |
commit | fe3d45abef2060b90730febfb195526697e0bda0 (patch) | |
tree | 29c7e51f22f934b9a0ea7d7fa4b98a3fc836ee78 | |
parent | 417a2265b463f9e7a695e883b3a26036d03c0dc8 (diff) | |
download | idalius-fe3d45abef2060b90730febfb195526697e0bda0.tar.xz |
Fix crusty line causing crash
-rwxr-xr-x | idalius.pl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |