sub CAPABILITY_imap {
my ($testno) = @_;
- if((!$capabilities) && (!$auth_mechs)) {
+ if((!@capabilities) && (!@auth_mechs)) {
sendcontrol "$cmdid BAD Command\r\n";
}
else {
sub CAPA_pop3 {
my ($testno) = @_;
- if((!$capabilities) && (!$auth_mechs)) {
+ if((!@capabilities) && (!@auth_mechs)) {
sendcontrol "-ERR Unsupported command: 'CAPA'\r\n";
}
else {
sub AUTH_pop3 {
my ($testno) = @_;
- if(!$auth_mechs) {
+ if(!@auth_mechs) {
sendcontrol "-ERR Unsupported command: 'AUTH'\r\n";
}
else {