Fix push on reference warnings
[app-fonbot-daemon.git] / lib / App / FonBot / Plugin / HTTPD.pm
index 785a0e757501b0e390469b13e1710da099508a33..933a56c61843cabce48f36d7783f02f1bc382166 100644 (file)
@@ -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.009238 seconds and 4 git commands to generate.