From 566c36647cb05d58c97af14db1e37df0b54bcf2c Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Tue, 21 Aug 2012 07:49:29 +0000 Subject: stats p tracking, better pingpong stuff, added an XML setting for a master chan rather than having one hardcoded, state tracking for channel URL --- modules/services.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/services.pl') diff --git a/modules/services.pl b/modules/services.pl index 2950253..4783d2b 100644 --- a/modules/services.pl +++ b/modules/services.pl @@ -36,7 +36,8 @@ sub doServices { } else { $conn->join(join(',', @autojoins)); } - $conn->schedule(2, sub { $conn->privmsg('#antispammeta', 'Now joined to all channels in '. (time - $::starttime) . " seconds."); }); + $conn->sl("PING :" . time); + $conn->schedule(2, sub { $conn->privmsg($::settings->{masterchan}, 'Now joined to all channels in '. (time - $::starttime) . " seconds."); }); } elsif ($event->{args}->[0] =~ /has been (killed|released)/ ) { -- cgit v1.2.3