On Fri, 20 Mar 2009 00:39:33 +0000 Steve Kemp <[email protected]> wrote:
> +sub rset_respond {
> + my ($self, $rc, $msg, $args) = @_;
> + if ($rc == OK) {
> + $self->reset_transaction;
> + }
> + $self->respond($rc, @$msg);
> }
We have to keep the default behaviour. Without any plugin hooking rset,
this will give an unexpected answer (if any). Something like hook noop,
i.e. a default of
$self->reset_transaction;
$self->respond(250, "OK");
return 1;
would be OK.
Hanno
