fix services channel check to use optimal dedicated system rather than a string compare
This commit is contained in:
parent
691b33c9d9
commit
52e4db7009
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ static int fs_event_joinchan( CmdParams *cmdparams )
|
|||
return NS_SUCCESS;
|
||||
}
|
||||
/* ignore services chan */
|
||||
if( !strcasecmp(cmdparams->channel->name, me.serviceschan ) )
|
||||
if( IsServicesChannel( cmdparams->channel ) )
|
||||
{
|
||||
dlog ( DEBUG1, "Ignoring Services channel %s", cmdparams->channel->name);
|
||||
return NS_SUCCESS;
|
||||
|
|
Reference in a new issue