diff --git a/plugins/factoids.pm b/plugins/factoids.pm index 03ef56b..fa25856 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -144,7 +144,8 @@ sub postload { # command such as "forget foo" # Need to add "what is foo?" support... sub command { - my( $self, $said, $pm ) = @_; + my( $self, $_said, $pm ) = @_; + my $said = +{$_said->%*}; my $conf = $self->get_conf_for_channel($pm, $said->{server}, $said->{channel});