]> iEval git - app-fonbot-daemon.git/blobdiff - lib/App/FonBot/Plugin/HTTPD.pm
Bump version and update Changes
[app-fonbot-daemon.git] / lib / App / FonBot / Plugin / HTTPD.pm
index 933a56c61843cabce48f36d7783f02f1bc382166..1efec362990f6b4f3ce5b20623cc2bad7cbd08ec 100644 (file)
@@ -1,6 +1,6 @@
 package App::FonBot::Plugin::HTTPD;
 
-our $VERSION = '0.000_5';
+our $VERSION = '0.001';
 
 use v5.14;
 use strict;
@@ -33,7 +33,7 @@ sub init{
        %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 }},
@@ -304,7 +304,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.021049 seconds and 4 git commands to generate.