fix services channel check to use optimal dedicated system rather than a string compare

This commit is contained in:
Mark 2005-09-21 21:51:33 +00:00
parent 691b33c9d9
commit 52e4db7009

View file

@ -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;