From 039043dce270c730cd0880b30f18fd0665a8d5f9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 3 Jan 2006 17:21:06 +0000 Subject: bless directly the wizard object instead of wrapping it in a hash --- time_wizard/Ntp.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'time_wizard') diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm index fc97185c..1772f9c0 100644 --- a/time_wizard/Ntp.pm +++ b/time_wizard/Ntp.pm @@ -162,9 +162,7 @@ $o->{pages} = { sub new { my ($class) = @_; - bless { - o => $o, - }, $class; + bless $o, $class; } sub get_timezone { -- cgit v1.2.1