Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reactor rule log stored as an array
  - previously stored as a hash with hostname as key
  • Loading branch information
wu committed Apr 15, 2012
1 parent df8eb66 commit 88ceb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/App/Wubot/Reactor.pm
Expand Up @@ -118,7 +118,7 @@ sub react {
$self->logger->debug( " " x $depth, "- rule matched: $rule->{name}" );

eval {
push @{ $message->{wubot_rulelog}->{$hostname} }, $rule->{name};
push @{ $message->{wubot_rulelog} }, join( ":", $hostname, $rule->{name} );
};

if ( $rule->{rules} ) {
Expand Down

0 comments on commit 88ceb69

Please sign in to comment.