[NeoStats-Devel] [Commits] r27 - trunk

[email protected] Tue, 30 Aug 2005 23:37:00 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Fish
Date: Tue Aug 30 21:36:52 2005
New Revision: 27

Modified:
   trunk/blsb.c
Log:
fix compile error

Modified: trunk/blsb.c
==============================================================================
--- trunk/blsb.c	(original)
+++ trunk/blsb.c	Tue Aug 30 21:36:52 2005
@@ -330,7 +330,6 @@
 		if( ( !ircstrcasecmp( dl->name, cmdparams->av[2] ) ) || ( !ircstrcasecmp(dl->domain, cmdparams->av[0] ) ) )
 		{
 			irc_prefmsg( blsb_bot, cmdparams->source, "%s already has an entry", cmdparams->av[0] );
-			ns_free( name );
 			return NS_SUCCESS;
 		}
 		lnode = list_next(blsb.domains, lnode);
@@ -338,7 +337,6 @@
 	dl = new_bldomain( cmdparams->av[2], cmdparams->av[0], type, msg );
 	irc_prefmsg( blsb_bot, cmdparams->source, "Added domain %s (%s) as type %d", dl->name, dl->domain, dl->type );
 	CommandReport( blsb_bot, "%s added domain %s (%s) as type %d", cmdparams->source->name, dl->name, dl->domain, dl->type );
-	ns_free( name );
 	return NS_SUCCESS;
 }