From d6102de2038794abd9388080c23d278632ef52e1 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 24 Mar 2016 14:25:54 +0200 Subject: [PATCH] Improve CTCP responses --- lib/App/Statsbot.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/App/Statsbot.pm b/lib/App/Statsbot.pm index eaf71a3..902f9d3 100644 --- a/lib/App/Statsbot.pm +++ b/lib/App/Statsbot.pm @@ -95,6 +95,8 @@ sub bot_start{ ## no critic (RequireArgUnpacking) $_[KERNEL]->delay(tick => $TICK); $irc->plugin_add(CTCP => POE::Component::IRC::Plugin::CTCP->new( + version => "Statsbot/$VERSION", + source => 'https://metacpan.org/pod/App::Statsbot', userinfo => 'A bot which keeps logs and computes channel statistics', clientinfo => 'PING VERSION CLIENTINFO USERINFO SOURCE', )); -- 2.39.2