diff --git a/lib/Qpsmtpd/Connection.pm b/lib/Qpsmtpd/Connection.pm index 18ecd7e..11765bc 100644 --- a/lib/Qpsmtpd/Connection.pm +++ b/lib/Qpsmtpd/Connection.pm @@ -51,5 +51,11 @@ sub hello_host { $self->{_hello_host}; } +sub notes { + my $self = shift; + my $key = shift; + @_ and $self->{_notes}->{$key} = shift; + $self->{_notes}->{$key}; +} 1;