if (&validFactoid($lhs,$rhs) == 0) {
if ($addressed) {
&status("IGNORE statement: <$who> $message");
- &performReply( &getRandom(keys %{$lang{'confused'}}) );
+ &performReply( &getRandom(keys %{ $lang{'confused'} }) );
}
return;
}
}
}
- return &update($lhs, $mhs, $rhs);
+ # success.
+ return if (&update($lhs, $mhs, $rhs));
}
return "CONTINUE";