From 80e0a6ac5f69911be278c7d1ae67c8027e903e5b Mon Sep 17 00:00:00 2001 From: "cebka@lenovo-laptop" Date: Wed, 17 Mar 2010 17:24:35 +0300 Subject: * Fix statistics of messages in controller * Fix building and installing perl target * Fix learn command name * Controller's commands are now case insensitive * Statfiles can now be selected from popup list in cgi interface * Password for controller's commands can now be specified in cgi interface --- perl/lib/Mail/Rspamd/Client.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl') diff --git a/perl/lib/Mail/Rspamd/Client.pm b/perl/lib/Mail/Rspamd/Client.pm index 100bfad68..d5b630118 100644 --- a/perl/lib/Mail/Rspamd/Client.pm +++ b/perl/lib/Mail/Rspamd/Client.pm @@ -394,7 +394,7 @@ This method makes a call to the spamd learning a statfile with message. sub learn { my ($self, $msg) = @_; - $self->{command} = 'LEARN'; + $self->{command} = 'learn'; $self->{control} = 1; return $self->do_all_cmd ($msg); -- cgit v1.2.3