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 ($httpd_port);
our ($email_batch_seconds, $email_from, $email_subject);
##################################################
%waiting_requests = ();
%waiting_userrequests = ();
$httpd = POE::Component::Server::HTTP->new(
- Port => 8888,
+ Port => $httpd_port,
PreHandler => { '/' => [\&pre_auth, \&pre_get, \&pre_userget], },
ContentHandler =>{ '/send' => \&on_send, '/get' => \&on_get, '/ok' => \&on_ok, '/userget' => \&on_userget, '/usersend' => \&on_usersend },
ErrorHandler => { '/' => sub { RC_OK }},