diff --git a/lib/Monitorix.pm b/lib/Monitorix.pm index 6805f34..d69a971 100644 --- a/lib/Monitorix.pm +++ b/lib/Monitorix.pm @@ -51,7 +51,7 @@ sub max { return $max; } -sub to_fahrenheit { +sub celsius_to { my ($config, $celsius) = @_; $celsius = $celsius || 0;