]> iEval git - app-statsbot.git/commitdiff
Improve CTCP responses
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 24 Mar 2016 12:25:54 +0000 (14:25 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 24 Mar 2016 12:25:54 +0000 (14:25 +0200)
lib/App/Statsbot.pm

index eaf71a381578d6b0192d8545afa32a3066e51bb1..902f9d336668bd930d7ad6bc87d8e4ef57ae9033 100644 (file)
@@ -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',
        ));
This page took 0.025393 seconds and 4 git commands to generate.