]> iEval git - app-fonbot-daemon.git/blobdiff - lib/App/FonBot/Daemon.pm
Bump version and update Changes
[app-fonbot-daemon.git] / lib / App / FonBot / Daemon.pm
index 9ef7b15567210c0583beb8022cb74506d2f98870..6ff61ed37750f7ea0ae536f4cbb440da3d428847 100644 (file)
@@ -1,6 +1,6 @@
 package App::FonBot::Daemon;
 
-our $VERSION = '0.000_3';
+our $VERSION = '0.001';
 
 use 5.014000;
 use strict;
@@ -14,22 +14,23 @@ use App::FonBot::Plugin::Common;
 use App::FonBot::Plugin::OFTC;
 use App::FonBot::Plugin::BitlBee;
 use App::FonBot::Plugin::HTTPD;
+use App::FonBot::Plugin::Email;
 
 use sigtrap qw/die normal-signals/;
 
-use constant PLUGINS => map { "App::FonBot::Plugin::$_" } qw/Config Common OFTC BitlBee HTTPD/;
+use constant PLUGINS => map { "App::FonBot::Plugin::$_" } qw/Config Common OFTC BitlBee HTTPD Email/;
 
 ##################################################
 
 sub run{
-  Log::Log4perl->init('/etc/fonbotd/log4perl.conf');
-  chdir '/var/lib/fonbot';
-  $_->init for PLUGINS;
-  POE::Kernel->run
+       Log::Log4perl->init('/etc/fonbotd/log4perl.conf');
+       chdir '/var/lib/fonbot';
+       $_->init for PLUGINS;
+       POE::Kernel->run;
 }
 
 sub finish{
-  $_->fini for reverse PLUGINS
+       $_->fini for reverse PLUGINS
 }
 
 1;
@@ -70,7 +71,7 @@ Marius Gavrilescu C<< <marius@ieval.ro> >>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2013 Marius Gavrilescu
+Copyright 2013-2015 Marius Gavrilescu
 
 This file is part of fonbotd.
 
This page took 0.026259 seconds and 4 git commands to generate.