diff options
| author | 2012-08-21 07:49:29 +0000 | |
|---|---|---|
| committer | 2012-08-21 07:49:29 +0000 | |
| commit | 566c36647cb05d58c97af14db1e37df0b54bcf2c (patch) | |
| tree | b8c654558a984ef575839f6b0fecc6213454fb9d /modules/services.pl | |
| parent | 4fb036a66821ef4749dfdb3ebc598ef21e2e4502 (diff) | |
stats p tracking, better pingpong stuff, added an XML setting for a master chan rather than having one hardcoded, state tracking for channel URL
Diffstat (limited to 'modules/services.pl')
| -rw-r--r-- | modules/services.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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)/ ) { |
