X-Git-Url: http://git.ieval.ro/?p=app-fonbot-daemon.git;a=blobdiff_plain;f=lib%2FApp%2FFonBot%2FPlugin%2FCommon.pm;h=4866db92b4116456e6d164f4cf6e318f1a901191;hp=300cf6b1fb01c35de7b2dbb3fdc6033dd94fb11b;hb=31d9adeefab30e0e8902454d677d0df1ca26c6ee;hpb=4e1612f394dc932cb4ab60eb95f48fd15c27ba00 diff --git a/lib/App/FonBot/Plugin/Common.pm b/lib/App/FonBot/Plugin/Common.pm index 300cf6b..4866db9 100644 --- a/lib/App/FonBot/Plugin/Common.pm +++ b/lib/App/FonBot/Plugin/Common.pm @@ -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]