[vhffs-dev] [1192] Fixed interval < 60 sec

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1192
Author:   gradator
Date:     2008-05-16 19:09:07 +0200 (Fri, 16 May 2008)

Log Message:
-----------
Fixed interval < 60 sec

Modified Paths:
--------------
    trunk/vhffs-irc/modobot.pl


Modified: trunk/vhffs-irc/modobot.pl
===================================================================
--- trunk/vhffs-irc/modobot.pl	2008-05-02 23:38:53 UTC (rev 1191)
+++ trunk/vhffs-irc/modobot.pl	2008-05-16 17:09:07 UTC (rev 1192)
@@ -104,7 +104,7 @@
                 $diff %= 3600;
         }
 
-        $duration .= int( $diff / 60 ).'m' if ( $diff >= 60 );
+        $duration .= int( $diff / 60 ).'m';
 
         return $duration;
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/