aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-06-22 13:10:17 +1200
committerDavid Phillips <david@sighup.nz>2019-06-22 13:10:17 +1200
commita02c227f944074434dea2f87cfb50f4df1eccad0 (patch)
tree806b25bded6c92b52d23306ccf2706a1af6fcd9b
parenta21d52d884ac0435888c087bc0ba71a44a3f05b1 (diff)
downloadidalius-a02c227f944074434dea2f87cfb50f4df1eccad0.tar.xz
Send forward ping to irc object, not POE kernel
-rwxr-xr-xidalius.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/idalius.pl b/idalius.pl
index 58122f3..eaaca86 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -150,7 +150,7 @@ sub run_command {
# a connection has fallen over otherwise.
sub custom_ping {
my ($poek) = $_[KERNEL];
- $poek->yield(userhost => $irc->nick_name());
+ $irc->yield(userhost => $irc->nick_name());
$poek->delay(custom_ping => $ping_delay);
}