[NeoStats-Devel] [Commits] r48 - trunk

[email protected] Thu, 22 Sep 2005 03:14:42 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Fish
Date: Thu Sep 22 01:14:34 2005
New Revision: 48

Modified:
   trunk/ChangeLog
   trunk/floodserv.c
Log:
Ignore services channel

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Thu Sep 22 01:14:34 2005
@@ -2,6 +2,7 @@
 Fish (F), Mark (M), DeadNotBuried (D)
 ==============================================================================
 3.0.a3-dev
+ - Ignore Services Channel for floodchecks (F)
  - fix segfault on topic changes while syncing servers (D)
  - add support for channel topic floods (D)
 3.0.a2 - Mark (M)

Modified: trunk/floodserv.c
==============================================================================
--- trunk/floodserv.c	(original)
+++ trunk/floodserv.c	Thu Sep 22 01:14:34 2005
@@ -241,6 +241,12 @@
 	{
 		return NS_SUCCESS;
 	}
+	/* ignore services chan */
+	if( !strcasecmp(cmdparams->channel->name, me.serviceschan ) ) 
+	{
+		dlog ( DEBUG1, "Ignoring Services channel %s", cmdparams->channel->name);
+		return NS_SUCCESS;
+	}
 	if( IsNetSplit( cmdparams->source ) ) 
 	{
 		dlog( DEBUG1, "Ignoring netsplit nick %s", cmdparams->source->name );