]> iEval git - app-fonbot-daemon.git/blobdiff - lib/App/FonBot/Plugin/HTTPD.pm
Fix push on reference warnings
[app-fonbot-daemon.git] / lib / App / FonBot / Plugin / HTTPD.pm
index 555ba375ad897dc74b89ee27436addfebd54e16f..933a56c61843cabce48f36d7783f02f1bc382166 100644 (file)
@@ -1,6 +1,6 @@
 package App::FonBot::Plugin::HTTPD;
 
-our $VERSION = '0.000_4';
+our $VERSION = '0.000_5';
 
 use v5.14;
 use strict;
@@ -196,7 +196,7 @@ sub on_send{
 
                if ($driver eq 'HTTP') {
                        $responses{$user}//=[];
-                       push $responses{$user}, $content;
+                       push @{$responses{$user}}, $content;
                        if (exists $waiting_userrequests{$user}) {
                                $waiting_userrequests{$user}->continue;
                                delete $waiting_userrequests{$user}
This page took 0.022844 seconds and 4 git commands to generate.