aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Timezone.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin/Timezone.pm')
-rw-r--r--Plugin/Timezone.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Plugin/Timezone.pm b/Plugin/Timezone.pm
index c679340..5e649b1 100644
--- a/Plugin/Timezone.pm
+++ b/Plugin/Timezone.pm
@@ -4,6 +4,7 @@ use strict;
use warnings;
use DateTime;
+use IdaliusConfig qw/assert_dict/;
my $config;
@@ -13,6 +14,8 @@ sub configure {
shift; # run_command
$config = shift;
+ IdaliusConfig::assert_dict($config, $self, "timezone");
+
$cmdref->("time", sub { $self->time(@_); } );
return $self;