]> iEval git - app-fonbot-daemon.git/blobdiff - lib/App/FonBot/Plugin/Common.pm
Bump version and update Changes
[app-fonbot-daemon.git] / lib / App / FonBot / Plugin / Common.pm
index 93de4be62a7e58ce12c12225e0f5d4fba65de9c0..4c34d3f01b47314ebf42165043ebb27448062b22 100644 (file)
@@ -1,6 +1,6 @@
 package App::FonBot::Plugin::Common;
 
-our $VERSION = '0.000_4';
+our $VERSION = '0.001';
 
 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]
@@ -154,7 +154,7 @@ Marius Gavrilescu C<< <marius@ieval.ro> >>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2013 Marius Gavrilescu
+Copyright 2013-2015 Marius Gavrilescu
 
 This file is part of fonbotd.
 
This page took 0.02472 seconds and 4 git commands to generate.