From 786b435aababd13eddf3f37c248d17ea031200ba Mon Sep 17 00:00:00 2001 From: milkbone57 Date: Wed, 15 Oct 2003 23:41:39 +0000 Subject: [PATCH] idle time works properly --- docs/VERSION.txt | 4 +++- plugins/Tk-Profile/Milkbone/Profile.pm | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/VERSION.txt b/docs/VERSION.txt index 53a4c22..3d43bb0 100644 --- a/docs/VERSION.txt +++ b/docs/VERSION.txt @@ -1,9 +1,11 @@ 0.37 -- +* Idle time fixed +* Useless sounds removed (except for msg_in and go_away) * Unicode support (thanks to Tk 804) * Using Perl/Tk 804 -* Guidance scripts in guid/ +* Runmode scripts in modes/ * Core now resides in lib/ * Split the core up * New slogan (at last) diff --git a/plugins/Tk-Profile/Milkbone/Profile.pm b/plugins/Tk-Profile/Milkbone/Profile.pm index 409f304..e981c6a 100644 --- a/plugins/Tk-Profile/Milkbone/Profile.pm +++ b/plugins/Tk-Profile/Milkbone/Profile.pm @@ -92,7 +92,7 @@ sub init my $idle_time = hook("protocol_idle_since", -who => $who); my ($mins, $hrs, $days); - $mins = $idle_time / 60; + $mins = $idle_time; $hrs = $mins / 60; $mins %= 60;