[NeoStats-Devel] [Commits] r89 - branches/3.0

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: DNB
Date: Sat Jun  4 12:10:07 2005
New Revision: 89

Modified:
   branches/3.0/TriviaQues.c
   branches/3.0/TriviaServ.c
Log:
fix if statment format
update showing answer so answers starting with numbers aren't affected by hint colour

Modified: branches/3.0/TriviaQues.c
==============================================================================
--- branches/3.0/TriviaQues.c	(original)
+++ branches/3.0/TriviaQues.c	Sat Jun  4 12:10:07 2005
@@ -380,7 +380,7 @@
 			}
 		}
 	}
-	irc_chanprivmsg (tvs_bot, tc->name, "\003%d%sTimes Up! The Answer was: \003%d%s%s", tc->messagecolour, (tc->boldcase %2) ? "\002" : "", tc->hintcolour, (tc->boldcase %2) ? "" : "\002", qe->answer);
+	irc_chanprivmsg (tvs_bot, tc->name, "\003%d%sTimes Up! The Answer was:\003%d%s %s", tc->messagecolour, (tc->boldcase % 2) ? "\002" : "", tc->hintcolour, (tc->boldcase %2) ? "" : "\002", qe->answer);
 	/* so we don't chew up memory too much */
 	ns_free (qe->question);
 	ns_free (qe->answer);

Modified: branches/3.0/TriviaServ.c
==============================================================================
--- branches/3.0/TriviaServ.c	(original)
+++ branches/3.0/TriviaServ.c	Sat Jun  4 12:10:07 2005
@@ -493,7 +493,7 @@
 		if (tc) 
 		{
 			/* for each channel check if to be cleared */
-			if (tc->resettype = cleartype) 
+			if (tc->resettype == cleartype) 
 			{
 				switch (cleartype) 
 				{
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.