}
if( exists( $heap->{ 'commands' }->{ uc( $cmd ) } ) ) {
- if( !exists $heap->{ 'cmdaccess' }->{ uc( $cmd ) } ||
- $heap->{ 'cmdaccess' }->{ uc( $cmd ) } == 0 || (
+ if( !exists $heap->{ 'cmdaccess' }->{ uc( $cmd ) } || (
exists $heap->{ 'identified' }->{ $src.uc( $who ) } &&
accessLevel( $kernel, $heap, uc( $who ), $src ) >= $heap->{ 'cmdaccess' }->{ uc( $cmd ) } ) ) {
&{ $heap->{ 'commands' }->{ uc( $cmd ) } }( $kernel, $heap, $who, $subj, $src, { dest => $dest, src=>$who, no_throttle => $no_throttle }, $replypath );