Browse Source

idle time works properly

master
milkbone57 22 years ago
parent
commit
786b435aab
  1. 4
      docs/VERSION.txt
  2. 2
      plugins/Tk-Profile/Milkbone/Profile.pm

4
docs/VERSION.txt

@ -1,9 +1,11 @@ @@ -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)

2
plugins/Tk-Profile/Milkbone/Profile.pm

@ -92,7 +92,7 @@ sub init @@ -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;

Loading…
Cancel
Save