[NeoStats-Devel] [Commits] r2707 - in trunk: . modules/connectserv modules/quoteserv

[email protected] Sat, 13 Aug 2005 01:49:25 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Fish
Date: Fri Aug 12 23:49:17 2005
New Revision: 2707

Modified:
   trunk/ChangeLog
   trunk/modules/connectserv/cs.c
   trunk/modules/quoteserv/main.c
Log:
fix up quoteserv really this time

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Fri Aug 12 23:49:17 2005
@@ -4,6 +4,7 @@
 Fish (F), Mark (M), DeadNotBuried (D)
 ===============================================================================
 * NeoStats * Version 3.0.a3-dev
+ - Make QuoteServ take a optional database for Quote Command (F)
  - Fix up triggering WANT_NICKIP code (F)
  - Fix up quoteserv and un-init memory errors causing crashes for me (F)
  - let limitserv have a buffer (F)

Modified: trunk/modules/connectserv/cs.c
==============================================================================
--- trunk/modules/connectserv/cs.c	(original)
+++ trunk/modules/connectserv/cs.c	Fri Aug 12 23:49:17 2005
@@ -32,7 +32,7 @@
 #include "cs.h"
 
 /* Uncomment this line to enable colours in ConnectServ channel messages */
-/* #define ENABLE_COLOUR_SUPPORT */
+#define ENABLE_COLOUR_SUPPORT
 
 /** local structures */
 /** Configuration structure  */

Modified: trunk/modules/quoteserv/main.c
==============================================================================
--- trunk/modules/quoteserv/main.c	(original)
+++ trunk/modules/quoteserv/main.c	Fri Aug 12 23:49:17 2005
@@ -375,7 +375,7 @@
 	int randno;
 	
 	SET_SEGV_LOCATION();
-	if((which) && ( ircstrcasecmp( which, "random" ) == 0 ))
+	if((which == NULL) || ( ircstrcasecmp( which, "random" ) == 0 ))
 	{
 		hnode_t *hn;
 		hscan_t hs;