]> iEval git - app-fonbot-daemon.git/blobdiff - lib/App/FonBot/Daemon.pm
Add Email plugin
[app-fonbot-daemon.git] / lib / App / FonBot / Daemon.pm
index 9ef7b15567210c0583beb8022cb74506d2f98870..135681ce1e123b272f7798b318e475043b0a28b8 100644 (file)
@@ -1,6 +1,6 @@
 package App::FonBot::Daemon;
 
-our $VERSION = '0.000_3';
+our $VERSION = '0.000_5';
 
 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;
This page took 0.02105 seconds and 4 git commands to generate.