Fix push on reference warnings
[app-fonbot-daemon.git] / lib / App / FonBot / Plugin / Common.pm
index 300cf6b1fb01c35de7b2dbb3fdc6033dd94fb11b..4866db92b4116456e6d164f4cf6e318f1a901191 100644 (file)
@@ -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.010168 seconds and 4 git commands to generate.