[NeoStats-Devel] [Commits] r49 - trunk

[email protected] Thu, 22 Sep 2005 07:51:36 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Thu Sep 22 05:51:33 2005
New Revision: 49

Modified:
   trunk/floodserv.c
Log:
fix services channel check to use optimal dedicated system rather than a string compare

Modified: trunk/floodserv.c
==============================================================================
--- trunk/floodserv.c	(original)
+++ trunk/floodserv.c	Thu Sep 22 05:51:33 2005
@@ -242,7 +242,7 @@
 		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;