]> iEval git - app-fonbot-daemon.git/blobdiff - lib/App/FonBot/Plugin/Common.pm
Fix push on reference warnings
[app-fonbot-daemon.git] / lib / App / FonBot / Plugin / Common.pm
index 93de4be62a7e58ce12c12225e0f5d4fba65de9c0..4866db92b4116456e6d164f4cf6e318f1a901191 100644 (file)
@@ -1,6 +1,6 @@
 package App::FonBot::Plugin::Common;
 
-our $VERSION = '0.000_4';
+our $VERSION = '0.000_5';
 
 use v5.14;
 use strict;
@@ -51,7 +51,7 @@ sub sendmsg{
 
        if (exists $commands{$touser}) {
                my $temp = thaw $commands{$touser};
-               push $temp, $data;
+               push @$temp, $data;
                $commands{$touser} = freeze $temp
        } else {
                $commands{$touser} = freeze [$data]
This page took 0.022959 seconds and 4 git commands to generate.