X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FApp%2FFonBot%2FPlugin%2FConfig.pm;h=8bcb682e203b9252378cca9f471fd3f64382f840;hb=2f9aba4464996b8cdac4c939635aaff6b74dcf46;hp=744f06368104e2c8f7bac23f80623bec661663d9;hpb=a750465391500500569d859a16cb92f5d37a3965;p=app-fonbot-daemon.git diff --git a/lib/App/FonBot/Plugin/Config.pm b/lib/App/FonBot/Plugin/Config.pm index 744f063..8bcb682 100644 --- a/lib/App/FonBot/Plugin/Config.pm +++ b/lib/App/FonBot/Plugin/Config.pm @@ -11,13 +11,14 @@ use parent qw/Exporter/; use Apache2::Authen::Passphrase; use Log::Log4perl qw//; -our @EXPORT_OK=qw/$oftc_enabled $oftc_nick @oftc_channels $oftc_nickserv_password $bitlbee_enabled $bitlbee_nick $bitlbee_server $bitlbee_port $bitlbee_password $dir $user $group @supplementary_groups $httpd_port/; +our @EXPORT_OK=qw/$oftc_enabled $oftc_nick @oftc_channels $oftc_nickserv_password $bitlbee_enabled $bitlbee_nick $bitlbee_server $bitlbee_port $bitlbee_password $dir $user $group @supplementary_groups $httpd_port $email_batch_seconds $email_from $email_subject/; ################################################## our ($oftc_enabled, $oftc_nick, @oftc_channels, $oftc_nickserv_password); our ($bitlbee_enabled, $bitlbee_nick, $bitlbee_server, $bitlbee_port, $bitlbee_password); our ($dir, $user, $group, @supplementary_groups); +our ($email_batch_seconds, $email_from, $email_subject); ################################################## @@ -71,6 +72,11 @@ App::FonBot::Plugin::Config - FonBot plugin for reading configuration files # Variables used in App::FonBot::Plugin::HTTPD say "The HTTPD listens on port $httpd_port" + # Variables used in App::FonBot::Plugin::Email + say "The email batch delay is $email_batch_seconds"; + say "The email plugin sends emails from $email_from"; + say "The email plugin sends emails with subject $email_subject"; + =head1 DESCRIPTION This FonBot plugin reads a configuration file (hardcoded to F) and provides configuration variables to the other plugins. It is a required plugin, since all other plugins depend on it.